Skip to content
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Commit d60c07e

Browse files
committed
chore: missing typescript on production flag
1 parent 7995060 commit d60c07e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

deploy/production/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ FROM node:16.13.0
33
RUN mkdir /root/web
44

55
ADD web.tar.gz /root/web
6-
RUN npm install -g pm2
7-
RUN cd /root/web/ && npm install --production
6+
RUN npm i -g pm2
7+
RUN cd /root/web/ && npm i --production
8+
RUN cd /root/web/ && npm i typescript --save-dev
89
RUN cd /root/web/ && make build.prod
910

1011
ADD loader.sh /usr/local/bin/loader.sh

0 commit comments

Comments
 (0)