mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-05-22 09:16:47 +02:00
fix(#166): fix docker build
This commit is contained in:
+2
-3
@@ -5,13 +5,12 @@ EXPOSE $PORT
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN npm install pm2 -g
|
||||
RUN pm2 install typescript
|
||||
RUN npm install pm2 -g && pm2 install typescript && npm cache clean --force;
|
||||
|
||||
COPY package.json .
|
||||
COPY package-lock.json .
|
||||
|
||||
RUN npm install
|
||||
RUN npm install && npm run build && npm cache clean --force
|
||||
|
||||
COPY ecosystem.config.js .
|
||||
COPY healthcheck.js .
|
||||
|
||||
Reference in New Issue
Block a user