Browse Source

💚 I'm gonna find jokes to fill up this section

main
Anatole-DC 4 years ago
parent
commit
8f5f0fe756
  1. 4
      Dockerfile

4
Dockerfile

@ -1,5 +1,5 @@
# étape de build
FROM node:lts-fermium as build-stage
FROM node:lts-alpine as build-stage
WORKDIR /app
COPY package*.json ./
RUN yarn install
@ -7,6 +7,6 @@ COPY . .
RUN yarn run build
# étape de production
FROM node:lts-fermium as production-stage
FROM node:lts-alpine as production-stage
COPY --from=build-stage /app/dist ./dist
CMD ["node", "dist/main"]
Loading…
Cancel
Save