fix dockerfile file
This commit is contained in:
parent
4b7b43c036
commit
3bed998640
@ -4,8 +4,9 @@ ENV NODE_ENV=production
|
|||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
|
|
||||||
COPY ["package.json", "pnpm-lock.yaml", "./"]
|
COPY ["package.json", "pnpm-lock.yaml", "./"]
|
||||||
COPY . .
|
|
||||||
|
|
||||||
RUN pnpm install --production --silent
|
RUN pnpm install --production --silent
|
||||||
|
|
||||||
|
COPY . .
|
||||||
|
|
||||||
CMD pnpm run build && pnpm run start
|
CMD pnpm run build && pnpm run start
|
||||||
|
Loading…
Reference in New Issue
Block a user