Алексей %!s(int64=2) %!d(string=hai) anos
pai
achega
70daf51dd1
Modificáronse 1 ficheiros con 11 adicións e 0 borrados
  1. 11 0
      dockerfile

+ 11 - 0
dockerfile

@@ -0,0 +1,11 @@
+FROM golang:1.19-alpine AS builder
+
+WORKDIR /app
+
+COPY . .
+
+RUN go build -o server ./main_2.go
+
+ENTRYPOINT ["./server"]
+
+EXPOSE 8081