fix: production Caddyfile launch args

This commit is contained in:
Julian Lobbes 2023-03-14 21:44:58 +01:00
parent 2d845afd56
commit 202af9e56e
2 changed files with 2 additions and 2 deletions

View file

@ -20,7 +20,7 @@ This is a template for building a webapp using the following tech stack:
Two different configurations are provided and instanced using the docker-related files in this template repository: Two different configurations are provided and instanced using the docker-related files in this template repository:
- The [production configuration](#production-configuration) is used for preformance-optimized production deployments of your web application - The [production configuration](#production-configuration) is used for preformance-optimized production deployments of your web application
- The [development configuration](#development-configuration) is used for development-deployments of your web application, providing features such as hot-reloading and debugging information - The [development configuration](#development-configuration) is used during development of your web application, providing features such as hot-reloading and debugging information
This should go without saying, but **do not serve the development configuration** on a public production server. This should go without saying, but **do not serve the development configuration** on a public production server.

View file

@ -33,4 +33,4 @@ USER ${CUSTOM_UID:-1000}:${CUSTOM_GID:-1000}
RUN npm install RUN npm install
RUN npx parcel build frontend/src/html/index.html RUN npx parcel build frontend/src/html/index.html
ENTRYPOINT ["caddy", "run", "--config", "/app/production.Caddyfile"] ENTRYPOINT ["caddy", "run", "--config", "/app/production.Caddyfile", "--adapter", "caddyfile"]