FROM node:19.6.0 as build ADD . . RUN cp .env.prod .env && npm i && npm run build FROM caddy COPY --from=build /dist /usr/share/caddy/