diff --git a/images/tasking-manager-web/Dockerfile b/images/tasking-manager-web/Dockerfile deleted file mode 100644 index ba973fe5..00000000 --- a/images/tasking-manager-web/Dockerfile +++ /dev/null @@ -1,19 +0,0 @@ - -FROM node:12 AS builder -RUN sed -i s/deb.debian.org/archive.debian.org/g /etc/apt/sources.list -RUN sed -i 's|security.debian.org|archive.debian.org|g' /etc/apt/sources.list -RUN sed -i '/stretch-updates/d' /etc/apt/sources.list -RUN apt-get update && apt-get -y install apt-transport-https -RUN apt-get update && \ - apt-get install -y git -WORKDIR /app -ENV GITSHA=951039f86938b9cc9d8b6986c4e5f3423a78e4d3 -RUN git clone https://github.com/hotosm/tasking-manager.git /app -WORKDIR /app/frontend -RUN git checkout $GITSHA -RUN npm install && npm run build - -FROM nginx:latest -COPY --from=builder /app/frontend/build /usr/share/nginx/html -EXPOSE 80 -CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file diff --git a/images/tasking-manager-web/README.md b/images/tasking-manager-web/README.md deleted file mode 100644 index 78634754..00000000 --- a/images/tasking-manager-web/README.md +++ /dev/null @@ -1,13 +0,0 @@ -# Docker setup for Tasking Manager 4 API - -### Configuration -1. Copy `./envs/.env.tasking-manager.example` to `./envs/.env.tasking-manager` -2. This setup doesn't come with a database container, so you'd have to standup your own. For now. -3. Supply appropirate environment variables, particularly OAuth keys and database credentials - - -### Build and run -* `cd tasking-manager-api` -* `docker build -t osmseed-tasking-manager-api:v1 .` -* `docker run --env-file ../.env-tasking-manager -p "5000:5000" -t osmseed-tasking-manager-api:v1` -