Lots of updates! Working in local dev... not sure about staging yet...
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
FROM node:20-alpine AS build
|
||||
ENV NODE_ENV development
|
||||
WORKDIR /home/node/app
|
||||
COPY package*.json ./
|
||||
COPY tsconfig.json ./
|
||||
@@ -14,5 +15,5 @@ WORKDIR /home/node/app
|
||||
COPY package*.json ./
|
||||
RUN yarn install --frozen-lockfile --production
|
||||
COPY --from=0 /home/node/app/dist .
|
||||
EXPOSE ${PORT}
|
||||
EXPOSE ${PORT:-9001}
|
||||
CMD ["node","server/index.js"]
|
||||
|
||||
Reference in New Issue
Block a user