init repo
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
FROM golang:1.22
|
||||
|
||||
WORKDIR /app
|
||||
COPY main.go ./
|
||||
|
||||
RUN CGO_ENABLED=0 GOOS=linux go build -o /hello-world
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
# Run
|
||||
CMD ["/hello-world"]
|
||||
Reference in New Issue
Block a user