added custom entrypoint

This commit is contained in:
2024-06-13 21:55:08 +02:00
parent 66eaf91521
commit f02083d44c
2 changed files with 17 additions and 0 deletions

View File

@@ -18,4 +18,9 @@ RUN npm run build --production
FROM nginx:stable-alpine3.17-slim
COPY entrypoint.sh .
RUN chmod +x entrypoint.sh
COPY --from=builder /source/build /usr/share/nginx/html
ENTRYPOINT ["./entrypoint.sh"]