mirror of
https://github.com/AykutSarac/jsoncrack.com.git
synced 2025-01-20 05:12:54 +08:00
12 lines
244 B
Docker
12 lines
244 B
Docker
# Builder
|
|
FROM node:14-buster as builder
|
|
WORKDIR /src
|
|
COPY . /src
|
|
RUN yarn install --legacy-peer-deps
|
|
RUN yarn run build
|
|
|
|
# App
|
|
FROM nginxinc/nginx-unprivileged
|
|
COPY --from=builder /src/out /app
|
|
COPY default.conf /etc/nginx/conf.d/default.conf
|