move volume creation before copying files to make them avilable on external volumes
This commit is contained in:
parent
a819509783
commit
7b50db6f27
|
@ -5,6 +5,15 @@ LABEL maintainer="dave@force9.org"
|
||||||
ENV NVM_DIR /root/.nvm
|
ENV NVM_DIR /root/.nvm
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
ENV DEBIAN_FRONTEND noninteractive
|
||||||
|
|
||||||
|
# enigma storage mounts
|
||||||
|
VOLUME /enigma-bbs/art
|
||||||
|
VOLUME /enigma-bbs/config
|
||||||
|
VOLUME /enigma-bbs/db
|
||||||
|
VOLUME /enigma-bbs/filebase
|
||||||
|
VOLUME /enigma-bbs/logs
|
||||||
|
VOLUME /enigma-bbs/mods
|
||||||
|
VOLUME /mail
|
||||||
|
|
||||||
COPY . /enigma-bbs
|
COPY . /enigma-bbs
|
||||||
|
|
||||||
# Do some installing!
|
# Do some installing!
|
||||||
|
@ -28,15 +37,6 @@ RUN apt-get update && apt-get install -y \
|
||||||
# sexyz
|
# sexyz
|
||||||
COPY docker/bin/sexyz /usr/local/bin
|
COPY docker/bin/sexyz /usr/local/bin
|
||||||
|
|
||||||
# enigma storage mounts
|
|
||||||
VOLUME /enigma-bbs/art
|
|
||||||
VOLUME /enigma-bbs/config
|
|
||||||
VOLUME /enigma-bbs/db
|
|
||||||
VOLUME /enigma-bbs/filebase
|
|
||||||
VOLUME /enigma-bbs/logs
|
|
||||||
VOLUME /enigma-bbs/mods
|
|
||||||
VOLUME /mail
|
|
||||||
|
|
||||||
# Enigma default port
|
# Enigma default port
|
||||||
EXPOSE 8888
|
EXPOSE 8888
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue