docker
This commit is contained in:
parent
56c5a7512e
commit
dfc3ee3b96
2 changed files with 17 additions and 0 deletions
11
Dockerfile
Normal file
11
Dockerfile
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
FROM golang:1.26.2-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN go mod download
|
||||
|
||||
EXPOSE 8000
|
||||
|
||||
CMD ["go", "run", "."]
|
||||
Loading…
Add table
Add a link
Reference in a new issue