fix: availability of env variables

This commit is contained in:
Julian Krauser 2025-01-06 15:04:47 +01:00
parent fa45559127
commit f74c10d4aa
10 changed files with 78 additions and 10 deletions

View file

@ -19,4 +19,7 @@ COPY ./nginx.conf /etc/nginx/nginx.conf
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
COPY ./entrypoint.sh /entrypoint.sh
RUN apk add --no-cache dos2unix
RUN dos2unix /entrypoint.sh && chmod +x /entrypoint.sh
ENTRYPOINT [ "/entrypoint.sh" ]