:( #4
+2
-6
@@ -2,13 +2,9 @@ FROM node:18
|
|||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
RUN curl -f https://get.pnpm.io/v7.30.js | node - add --global pnpm
|
|
||||||
COPY ./pnpm-lock.yaml ./
|
|
||||||
RUN pnpm fetch
|
|
||||||
|
|
||||||
COPY ./ ./
|
COPY ./ ./
|
||||||
RUN pnpm install -r --offline
|
RUN npm install
|
||||||
RUN pnpm run build
|
RUN npm run build
|
||||||
|
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
CMD ["node", "dist/server/server.js"]
|
CMD ["node", "dist/server/server.js"]
|
||||||
|
|||||||
Reference in New Issue
Block a user