dockerfile fix - compile

This commit is contained in:
bunkerity
2020-10-21 15:12:27 +02:00
parent 01095bd72f
commit 7a8795883b
6 changed files with 10 additions and 27 deletions

View File

@@ -1,4 +1,4 @@
FROM nginx:stable-alpine AS builder
FROM nginx:stable-alpine
COPY nginx-keys/ /tmp/nginx-keys
COPY compile.sh /tmp/compile.sh
@@ -6,9 +6,6 @@ RUN chmod +x /tmp/compile.sh && \
/tmp/compile.sh && \
rm -rf /tmp/*
FROM nginx:stable-alpine
COPY --from=builder /*.so /usr/local/nginx/modules/
COPY entrypoint.sh /opt/entrypoint.sh
COPY confs/ /opt/confs
COPY scripts/ /opt/scripts