Skip to content

Commit ee7834a

Browse files
authored
Merge pull request #164 from developmentseed/fix/browser-port-docker-compose
Fix port in local browser deployment
2 parents 735c7ac + bbe8f58 commit ee7834a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

dockerfiles/Dockerfile.browser

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ FROM nginx:1-alpine-slim
2121
COPY --from=build-step /app/dist /usr/share/nginx/html
2222
COPY --from=build-step /app/config.schema.json /etc/nginx/conf.d/config.schema.json
2323

24-
# change default port to 8084
24+
# change default port to 8085
2525
RUN apk add jq pcre-tools && \
26-
sed -i 's/\s*listen\s*80;/ listen 8084;/' /etc/nginx/conf.d/default.conf && \
26+
sed -i 's/\s*listen\s*80;/ listen 8085;/' /etc/nginx/conf.d/default.conf && \
2727
sed -i 's/\s*location \/ {/ location \/ {\n try_files $uri $uri\/ \/index.html;/' /etc/nginx/conf.d/default.conf
2828

29-
EXPOSE 8084
29+
EXPOSE 8085
3030

3131
STOPSIGNAL SIGTERM
3232

3333
# override entrypoint, which calls nginx-entrypoint underneath
34-
COPY --from=build-step /app/docker/docker-entrypoint.sh ./docker-entrypoint.d/40-stac-browser-entrypoint.sh
34+
COPY --from=build-step /app/docker/docker-entrypoint.sh ./docker-entrypoint.d/40-stac-browser-entrypoint.sh

0 commit comments

Comments
 (0)