Name the first image
This commit is contained in:
parent
34efc06607
commit
ee1d100e2f
|
@ -1,4 +1,4 @@
|
||||||
FROM node:20-alpine
|
FROM node:20-alpine AS nodebuild
|
||||||
|
|
||||||
RUN apk add git
|
RUN apk add git
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ RUN cd /phanpy && \
|
||||||
|
|
||||||
FROM nginx:alpine
|
FROM nginx:alpine
|
||||||
|
|
||||||
COPY --from=0 /phanpy/dist /usr/share/nginx/html
|
COPY --from=nodebuild /phanpy/dist /usr/share/nginx/html
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue