Skip to content

Commit bbe8f58

Browse files
authored
Update Dockerfile.browser
The port in the docker compose config didn't match the port exposed in the docker image. Fixed to expose port 8085 consistently.
1 parent 735c7ac commit bbe8f58

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)