fix: availability of env variables
This commit is contained in:
parent
fa45559127
commit
f74c10d4aa
10 changed files with 78 additions and 10 deletions
|
@ -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" ]
|
Loading…
Add table
Add a link
Reference in a new issue