Skip to content

Commit

Permalink
Move VOLUME commands to the end of the Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
carbonin committed Mar 3, 2020
1 parent 73189c0 commit 9d1196f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ RUN yum -y install --setopt=tsflags=nodocs \
&& \
yum clean all

VOLUME [ "/var/lib/pgsql/data" ]
VOLUME [ ${APP_ROOT} ]

## Copy/link the appliance files again so that we get ssl
RUN ${APPLIANCE_ROOT}/setup && \
mv /etc/httpd/conf.d/ssl.conf{,.orig} && \
Expand All @@ -25,3 +22,6 @@ COPY docker-assets/entrypoint /usr/local/bin
EXPOSE 443

LABEL name="manageiq"

VOLUME [ "/var/lib/pgsql/data" ]
VOLUME [ ${APP_ROOT} ]

0 comments on commit 9d1196f

Please sign in to comment.