Update Dockerfile

This commit is contained in:
LordMathis 2019-11-02 11:45:59 +01:00
parent 338f771f4c
commit bd6f1ce98d
No known key found for this signature in database
GPG Key ID: 575849FD91CE470C
2 changed files with 3 additions and 1 deletions

View File

@ -4,4 +4,5 @@ yarn-error.log
build build
public public
content content
config
.git .git

View File

@ -3,6 +3,7 @@ WORKDIR /app
COPY . ./ COPY . ./
RUN yarn RUN yarn
RUN yarn build RUN yarn build
VOLUME /app VOLUME /app/config
VOLUME /app/content
EXPOSE 3000 EXPOSE 3000
CMD [ "yarn", "start" ] CMD [ "yarn", "start" ]