Create Dockerfile

This commit is contained in:
Andras Bacsai
2026-04-28 12:41:32 +02:00
committed by GitHub
parent 6ee7681793
commit ba2f951fb4
+7
View File
@@ -0,0 +1,7 @@
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