generated from Phil/vue3template
This commit is contained in:
parent
309e7010c3
commit
a6861caedd
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
FROM node:20 AS builder
|
FROM node:20 AS builder
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY ./ /app
|
COPY . .
|
||||||
|
|
||||||
RUN npm install
|
RUN npm install
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
@ -10,4 +10,4 @@ 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
|
||||||
|
|
||||||
COPY --from=builder /app/dist/* /usr/share/nginx/html/
|
COPY --from=builder /app/dist/ /usr/share/nginx/html/
|
Loading…
Reference in a new issue