diff --git a/dockerfile-multi/Dockerfile b/dockerfile-multi/Dockerfile new file mode 100644 index 0000000..858de47 --- /dev/null +++ b/dockerfile-multi/Dockerfile @@ -0,0 +1,7 @@ +FROM golang:alpine AS build +WORKDIR /app +RUN echo '

hello

' > index.html +RUN mkdir -p /app/dist && cp index.html /app/dist/ + +FROM nginx:alpine +COPY --from=build /app/dist /usr/share/nginx/html