Lots of updates! Working in local dev... not sure about staging yet...

This commit is contained in:
2023-05-10 09:15:49 -04:00
parent 0e02c8ab15
commit 07cca921bf
9 changed files with 50 additions and 34 deletions

View File

@@ -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"]