generated from Phil/vue3template
This commit is contained in:
parent
e04545ecb1
commit
b9981813d5
1 changed files with 2 additions and 2 deletions
|
@ -1,11 +1,11 @@
|
||||||
FROM node:latest as builder
|
FROM node:20 AS builder
|
||||||
|
|
||||||
RUN npm install
|
RUN npm install
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
COPY dist/* /dist/
|
COPY dist/* /dist/
|
||||||
|
|
||||||
FROM nginx:stable-alpine-slim as production
|
FROM nginx:stable-alpine-slim AS production
|
||||||
RUN rm -rf /usr/share/nginx/html
|
RUN rm -rf /usr/share/nginx/html
|
||||||
RUN mkdir -p /usr/share/nginx/html
|
RUN mkdir -p /usr/share/nginx/html
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue