pianello-web-app/frontend/Dockerfile
Alessio Davoli ca4c7e0b10
Some checks failed
ci/woodpecker/push/build Pipeline failed
Update Dockerfiel
2023-12-12 18:21:19 +01:00

19 lines
321 B
Docker

FROM git.webdeploy.it/webdeploy/yarn AS build
WORKDIR /usr
COPY package.json ./
COPY package-lock.json ./
RUN npm ci
COPY . ./
RUN yarn build
FROM git.webdeploy.it/webdeploy/yarn
WORKDIR /app
COPY package.json ./
COPY package-lock.json ./
RUN npm ci
COPY --from=build /usr/build /app
EXPOSE 8000
CMD ["node", "/app"]