Fix copy of entrypoint script

This commit is contained in:
2024-12-17 13:38:21 +00:00
parent ba1ab27fb0
commit dd67a7fa1c

View File

@@ -13,7 +13,7 @@ COPY nginx/default.conf /etc/nginx/conf.d/
RUN rm -rf /usr/share/nginx/html/*
COPY --from=build-stage /app/dist /usr/share/nginx/html
EXPOSE 80
COPY ./entrypoint.sh ./entrypoint.sh
COPY ./nginx/entrypoint.sh ./entrypoint.sh
RUN chmod +x ./entrypoint.sh
ENTRYPOINT ["./entrypoint.sh"]
CMD ["nginx", "-g", "daemon off;"]