mogus vented

This commit is contained in:
JandereDev 2021-10-10 20:11:03 +02:00
parent e869d3b67c
commit 6b0f9f421d
No known key found for this signature in database
GPG key ID: 5D5E18ACB990F57A

13
Dockerfile Normal file
View file

@ -0,0 +1,13 @@
FROM node:14 AS build
WORKDIR /build/
COPY package.json yarn.lock ./
RUN yarn install --frozen-lockfile
COPY . .
RUN yarn build
FROM node:14 as prod
WORKDIR /app/
COPY --from=build /build/package.json /build/yarn.lock ./
COPY --from=build /build/dist ./dist
RUN yarn install --production --frozen-lockfile
CMD ["yarn", "start"]