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
|
FROM node:20-alpine
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
|
|
||||||
RUN npm install
|
RUN npm install
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
RUN npm run build
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
CMD ["node", ".output/server/index.mjs"]
|
||||||
CMD ["npm", "start"]
|
|
||||||
Loading…
Reference in a new issue