Skip to content

Commit

Permalink
[FIX] Change internal port to 5173 (#467)
Browse files Browse the repository at this point in the history
Fixes #466
  • Loading branch information
surchs authored Jan 29, 2025
1 parent 670eb1f commit e04a7c1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,13 @@ RUN chmod +x /entrypoint.sh

WORKDIR /usr/share/nginx/html

EXPOSE 80
# Now we will define a custom port for the webserver (NGINX)
# to listen on INSIDE of the container. The default port would
# be port 80.
ENV NGINX_PORT=5173
RUN sed -i "s/listen[[:space:]]*80/listen ${NGINX_PORT}/g" /etc/nginx/conf.d/default.conf
EXPOSE ${NGINX_PORT}


ENTRYPOINT [ "/entrypoint.sh" ]

Expand Down

0 comments on commit e04a7c1

Please sign in to comment.