Files
coolify-examples/dockerfile-multi/Dockerfile
T
2026-04-28 12:41:32 +02:00

8 lines
200 B
Docker

FROM golang:alpine AS build
WORKDIR /app
RUN echo '<h1>hello</h1>' > index.html
RUN mkdir -p /app/dist && cp index.html /app/dist/
FROM nginx:alpine
COPY --from=build /app/dist /usr/share/nginx/html