jsoncrack.com/Dockerfile
2023-07-23 13:38:32 +03:00

11 lines
259 B
Docker

# Builder
FROM node:18-alpine as builder
WORKDIR /src
COPY . /src/
RUN yarn install --frozen-lockfile && yarn build
# App
FROM nginxinc/nginx-unprivileged
COPY --chown=nginx:nginx --from=builder /src/out /app
COPY default.conf /etc/nginx/conf.d/default.conf