fix Dockerfile
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
FROM node:16-alpine AS builder
|
FROM docker.io/node:16-alpine AS builder
|
||||||
|
|
||||||
WORKDIR /front
|
WORKDIR /front
|
||||||
|
|
||||||
@@ -7,7 +7,7 @@ COPY . .
|
|||||||
RUN npm ci
|
RUN npm ci
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
FROM nginx:1.21.6-alpine as runner
|
FROM docker.io/nginx:1.21.6-alpine as runner
|
||||||
|
|
||||||
COPY ./deploy/nginx.conf /etc/nginx/nginx.conf
|
COPY ./deploy/nginx.conf /etc/nginx/nginx.conf
|
||||||
COPY --from=builder /front/dist /var/www/html
|
COPY --from=builder /front/dist /var/www/html
|
||||||
|
|||||||
Reference in New Issue
Block a user