File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ frontend=${frontend:-false}
4242frontendRelease=${frontendRelease:- LATEST}
4343
4444# The Git location for the frontend
45- frontendGit=${frontendGit:- " git:maproulette/maproulette3 " }
45+ frontendGit=${frontendGit:- " git:maproulette/maproulette4 " }
4646
4747# Whether to deploy the API
4848api=${api:- false}
Original file line number Diff line number Diff line change @@ -2,9 +2,10 @@ ARG NODE_TAG=22-bullseye
22ARG NGINX_TAG=1.25-alpine
33FROM docker.io/library/node:${NODE_TAG} as builder
44
5- ARG GIT="maproulette/maproulette3 "
5+ ARG GIT="maproulette/maproulette4 "
66ARG CACHEBUST=2
77ARG VERSION="LATEST"
8+ ARG GITHUB_TOKEN=""
89
910RUN \
1011 apt-get update && \
2021 echo "${CACHEBUST}" && \
2122 echo "${VERSION}" && \
2223 if [ "${VERSION}" = "LATEST" ]; then \
23- git clone --depth 1 https://github.com/${GIT}.git /maproulette-frontend ; \
24+ git clone --depth 1 https://${GITHUB_TOKEN}@ github.com/${GIT}.git /maproulette-frontend ; \
2425 else \
25- git clone --depth 1 --branch ${VERSION} https://github.com/${GIT}.git /maproulette-frontend ; \
26+ git clone --depth 1 --branch ${VERSION} https://${GITHUB_TOKEN}@ github.com/${GIT}.git /maproulette-frontend ; \
2627 fi
2728WORKDIR /maproulette-frontend
2829
Original file line number Diff line number Diff line change 3535echo " Building container image for MapRoulette frontend Version: $IMAGE_TAG , Repo: ${git[1]} "
3636docker build \
3737 --pull \
38+ --no-cache \
3839 -t maproulette/maproulette-frontend:" ${IMAGE_TAG} " \
3940 --build-arg VERSION=" ${VERSION} " \
4041 --build-arg GIT=" ${git[1]} " \
Original file line number Diff line number Diff line change 11upstream api {
2- server maproulette-api :9000;
2+ server 127.0.0.1 :9000;
33}
44server {
55 listen 3000 default_server;
You can’t perform that action at this time.
0 commit comments