2022-03-06 17:59:45 +01:00
|
|
|
FROM node:alpine as Build
|
|
|
|
ENV NODE_ENV=production
|
|
|
|
WORKDIR /app
|
|
|
|
|
2022-04-13 21:41:02 +02:00
|
|
|
COPY [ "yarn.lock", "package.json", "index.ts", "tsconfig.json", "./" ]
|
2022-03-06 17:59:45 +01:00
|
|
|
COPY server ./server
|
|
|
|
|
|
|
|
RUN yarn install --production
|
|
|
|
|
|
|
|
RUN yarn run build
|
2022-03-06 18:20:15 +01:00
|
|
|
CMD ["yarn","start"]
|