Skip to content

Commit

Permalink
Add /etc/nginx files to release image before copying over the nginx t…
Browse files Browse the repository at this point in the history
…emplate.
  • Loading branch information
alfg committed Apr 3, 2020
1 parent 8f9f7e1 commit 772e4de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ RUN apk add --update \
x265-dev

COPY --from=build-nginx /usr/local/nginx /usr/local/nginx
COPY --from=build-nginx /etc/nginx /etc/nginx
COPY --from=build-ffmpeg /usr/local /usr/local
COPY --from=build-ffmpeg /usr/lib/libfdk-aac.so.2 /usr/lib/libfdk-aac.so.2

Expand Down

3 comments on commit 772e4de

@neelduttahere
Copy link

@neelduttahere neelduttahere commented on 772e4de Apr 14, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey, I'm trying to copy my custom config to the docker image, and then commit to create a new image from it, but the changes are not reflected on the config file, but directory changes are reflected.

@alfg
Copy link
Owner Author

@alfg alfg commented on 772e4de Apr 14, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@neelduttahere Are you adding it to the release stage image?

@reedog117
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had the same problem. Explained a solution in #63 .

Please sign in to comment.