custom-dockerfile/Dockerfile-standard-notes
2024-09-17 19:00:29 +08:00

12 lines
260 B
Plaintext

FROM node:16 AS builder
WORKDIR /app
RUN git clone https://github.com/standardnotes/app.git .
RUN yarn install
RUN yarn build:web
FROM nginx:alpine
WORKDIR /usr/share/nginx/html
COPY --from=builder /app/packages/web/dist .
CMD ["nginx", "-g", "daemon off;"]