Linux - use the same dependencies script for Docker

This commit is contained in:
bunkerity
2021-06-18 17:04:22 +02:00
parent 5ec9e6ab49
commit 93543d3962
2 changed files with 32 additions and 6 deletions

View File

@@ -1,10 +1,9 @@
FROM nginx:1.20.1-alpine
COPY nginx-keys/ /tmp/nginx-keys
COPY compile.sh /tmp/compile.sh
RUN chmod +x /tmp/compile.sh && \
/tmp/compile.sh && \
rm -rf /tmp/*
COPY helpers/dependencies.sh /tmp/dependencies.sh && \
apk add --no-cache bash && \
/tmp/dependencies.sh && \
rm -f /tmp/dependencies.sh
COPY dependencies.sh /tmp/dependencies.sh
RUN chmod +x /tmp/dependencies.sh && \