custom-dockerfile/Dockerfile-standard-notes

12 lines
260 B
Plaintext
Raw Normal View History

2024-09-17 06:17:20 -04:00
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
2024-09-17 07:00:29 -04:00
COPY --from=builder /app/packages/web/dist .
2024-09-17 06:17:20 -04:00
CMD ["nginx", "-g", "daemon off;"]