forked from Somnia/SomniaRoomsApp
Env Vars - Support for container env vars.
Now you can configure your container using Environmet vars.
This commit is contained in:
@@ -20,4 +20,6 @@ RUN npm ci && npm run build
|
||||
FROM nginx:stable-alpine as final-prod
|
||||
COPY --from=builder /app/dist /usr/share/nginx/html
|
||||
EXPOSE 80
|
||||
COPY scripts/env.sh /docker-entrypoint.d/env.sh
|
||||
RUN chmod +x /docker-entrypoint.d/env.sh
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
|
||||
Reference in New Issue
Block a user