pianello-web-app/frontend/Dockerfile
apple ad78d0d225
All checks were successful
ci/woodpecker/push/build Pipeline was successful
Remove registry usage
2023-09-11 10:02:17 +02:00

19 lines
317 B
Docker

FROM node:18 AS build
WORKDIR /usr
COPY package.json ./
COPY yarn.lock ./
RUN yarn install --frozen-lockfile
COPY . ./
RUN yarn build
FROM node:18-alpine3.16
WORKDIR /app
COPY package.json ./
COPY yarn.lock ./
RUN yarn install --frozen-lockfile
COPY --from=build /usr/build /app
EXPOSE 8000
CMD ["node", "/app"]