fix dockerfile file
All checks were successful
Deploy CI / deploy (push) Successful in 20s
Publish Docker Image / docker (push) Successful in 45s

This commit is contained in:
Lee 2024-01-06 09:28:06 +00:00
parent 4b7b43c036
commit 3bed998640

@ -4,8 +4,9 @@ ENV NODE_ENV=production
WORKDIR /usr/src/app
COPY ["package.json", "pnpm-lock.yaml", "./"]
COPY . .
RUN pnpm install --production --silent
COPY . .
CMD pnpm run build && pnpm run start