mirror of
https://github.com/olehomelchenko/Mini-VLAT-ua.git
synced 2025-12-21 13:12:22 +00:00
15 lines
226 B
Docker
15 lines
226 B
Docker
# ReactTool/frontend/Dockerfile.prod
|
|
FROM node:16 as build
|
|
|
|
WORKDIR /app
|
|
COPY package*.json ./
|
|
COPY yarn.lock ./
|
|
|
|
RUN yarn install
|
|
|
|
COPY . .
|
|
RUN yarn build
|
|
|
|
FROM nginx:alpine
|
|
COPY --from=build /app/build /usr/share/nginx/html
|