keyoxide-web/Dockerfile
2023-08-26 10:52:46 +02:00

19 lines
No EOL
248 B
Docker

FROM node:16-alpine as builder
WORKDIR /app
COPY . .
RUN yarn --pure-lockfile
RUN yarn run build
###
FROM node:16-alpine
WORKDIR /app
COPY --from=builder /app /app
RUN rm -r /app/node_modules
EXPOSE 3000
CMD node --experimental-fetch ./dist/