dockerfile patch
This commit is contained in:
parent
c8297233de
commit
debfae0c2e
1 changed files with 2 additions and 7 deletions
|
|
@ -1,13 +1,8 @@
|
|||
FROM node:20-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package*.json ./
|
||||
|
||||
RUN npm install
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN npm run build
|
||||
EXPOSE 3000
|
||||
|
||||
CMD ["npm", "start"]
|
||||
CMD ["node", ".output/server/index.mjs"]
|
||||
Loading…
Reference in a new issue