Files
BlockchainUI/Dockerfile
2022-08-17 16:24:49 +03:00

17 lines
333 B
Docker

FROM node:16-alpine AS builder
RUN apk --update add --no-cache curl git python3 alpine-sdk bash autoconf libtool automake
WORKDIR /front
COPY . .
RUN npm install
RUN npm run build:prod
FROM nginx:1.21.6-alpine as runner
COPY ./deploy/nginx.conf /etc/nginx/nginx.conf
COPY --from=builder /front/build /var/www/html
EXPOSE 8080