Update Dockerfile
This commit is contained in:
parent
338f771f4c
commit
bd6f1ce98d
|
@ -4,4 +4,5 @@ yarn-error.log
|
||||||
build
|
build
|
||||||
public
|
public
|
||||||
content
|
content
|
||||||
|
config
|
||||||
.git
|
.git
|
||||||
|
|
|
@ -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" ]
|
||||||
|
|
Loading…
Reference in New Issue