Skip to content

Commit

Permalink
修改Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
wo10378931 committed Oct 11, 2019
1 parent 5bd30d8 commit 9d8b0fd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ ADD ./frontend /app
WORKDIR /app

# install frontend
RUN npm config set unsafe-perm true
RUN npm install -g yarn && yarn install

RUN npm run build:prod
Expand Down Expand Up @@ -56,4 +57,4 @@ EXPOSE 8080
EXPOSE 8000

# start backend
CMD ["/bin/sh", "/app/docker_init.sh"]
CMD ["/bin/sh", "/app/docker_init.sh"]

0 comments on commit 9d8b0fd

Please sign in to comment.