keyoxide-web/Dockerfile
Yarmo Mackenbach 626faf2778
Fix dockerfile
2022-02-27 17:34:15 +01:00

23 lines
No EOL
268 B
Docker

FROM node:14-alpine as builder
WORKDIR /app
COPY . .
RUN yarn --pure-lockfile
RUN yarn run build:static
###
FROM node:14-alpine
WORKDIR /app
COPY . .
COPY --from=builder /app/static /app/static
RUN yarn --production --pure-lockfile
EXPOSE 3000
CMD yarn start