This commit is contained in:
Alex Holliday committed 2025-11-21 21:00:36 +00:00
1 parent 9bce91c20d
commit 3a1fb61847
3 files changed
+19 -3

No files matched your search

+7 -1
View File
@@ -7,8 +7,14 @@ RUN npm ci
COPY . .
RUN npm run build
# Serve
# Run stage
FROM nginx:1.27.1-alpine
# Environment variables
COPY --from=build /app/env.sh /docker-entrypoint.d/env.sh
RUN chmod +x /docker-entrypoint.d/env.sh
# Serve
COPY ./nginx/conf.d/default.conf /etc/nginx/conf.d/default.conf
COPY --from=build /app/dist /usr/share/nginx/html
EXPOSE 80