This commit is contained in:
gimse 2023-11-09 20:08:04 +01:00
parent 58448dbdf2
commit 760100465f

View File

@ -1,9 +1,6 @@
# Use node:alpine3.17 image as the base image
FROM docker.io/node:alpine3.17 as builder
# Maintainer information
MAINTAINER tanwenyang@aliyun.com
# Copy the vue-color-avatar file from the local directory to the /app directory inside the container
COPY . /app
@ -22,5 +19,8 @@ FROM docker.io/nginxinc/nginx-unprivileged:1.25.1-alpine
# Showing that port 8080 can be published
EXPOSE 8080
# Maintainer information
MAINTAINER tanwenyang@aliyun.com
# Copy html from previous stage
COPY --from=builder /app/dist /usr/share/nginx/html