mirror of
https://github.com/coollabsio/coolify-examples.git
synced 2026-05-12 13:27:41 +00:00
Create Dockerfile
This commit is contained in:
@@ -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
|
||||||
Reference in New Issue
Block a user