Remove extra volume from the Dockerfiles
Specifying the volume in the Dockerfile is unnecessary and can lead to excessive orphaned volume if the user chooses to use different paths at runtime.
This commit is contained in:
parent
5e55ca56b6
commit
de569ddd8a
@ -69,4 +69,4 @@ COPY root/ /
|
||||
|
||||
# ports and volumes
|
||||
EXPOSE 8083
|
||||
VOLUME /books /config
|
||||
VOLUME /config
|
||||
|
@ -83,4 +83,4 @@ COPY root/ /
|
||||
|
||||
# ports and volumes
|
||||
EXPOSE 8083
|
||||
VOLUME /books /config
|
||||
VOLUME /config
|
||||
|
@ -83,4 +83,4 @@ COPY root/ /
|
||||
|
||||
# ports and volumes
|
||||
EXPOSE 8083
|
||||
VOLUME /books /config
|
||||
VOLUME /config
|
||||
|
Loading…
Reference in New Issue
Block a user