Skip to content

Commit

Permalink
feat(Dockerfile.frontpage): add --sub-url flag to ENTRYPOINT command
Browse files Browse the repository at this point in the history
The --sub-url flag is added to the ENTRYPOINT command in the Dockerfile
to allow the application to be served from a subdirectory. This is
useful when the application is deployed behind a reverse proxy that
routes requests to different applications based on the URL path.
  • Loading branch information
cybersiddhu committed Feb 12, 2024
1 parent e936ece commit 2a3246f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/Dockerfile.frontpage
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ WORKDIR /www
COPY --from=installer /app/apps/dicty-frontpage/dist ./
ENV PORT 3000
EXPOSE 3000
ENTRYPOINT ["/usr/local/bin/app", "run", "-f", "/www", "-p", "3000", "--sf", "/assets"]
ENTRYPOINT ["/usr/local/bin/app", "run", "-f", "/www", "-p", "3000", "--sf", "/assets", "--sub-url", "/"]

0 comments on commit 2a3246f

Please sign in to comment.