Fixes for new docker images

This commit is contained in:
Jackson Harper
2023-10-26 11:19:38 +08:00
parent 2d7c20eac7
commit 8ddfa0a389
2 changed files with 3 additions and 2 deletions

View File

@ -5,7 +5,6 @@ WORKDIR /app
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true
RUN apt-get update && apt-get install -y g++ make python3
COPY package.json .
COPY yarn.lock .
COPY tsconfig.json .
@ -35,6 +34,8 @@ RUN yarn install --pure-lockfile --production
FROM node:18.16 as runner
RUN apt-get update && apt-get install -y netcat-openbsd
WORKDIR /app
ENV NODE_ENV production