jsoncrack.com/Dockerfile
2023-03-08 11:43:38 +03:00

11 lines
238 B
Docker

# Builder
FROM node:14-alpine as builder
WORKDIR /src
COPY . /src/
RUN npm ci && npm run build
# App
FROM nginxinc/nginx-unprivileged
COPY --chown=nginx:nginx --from=builder /src/out /app
COPY default.conf /etc/nginx/conf.d/default.conf