Added docker and docker-compose

This commit is contained in:
stratic-dev
2024-01-22 20:06:40 +00:00
parent 59eafbe3d5
commit 4a7f7b8041
2 changed files with 63 additions and 0 deletions

14
Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
FROM golang:1.21-alpine3.19
ENV GO111MODULE=on
WORKDIR /app/erupe
COPY go.mod .
COPY go.sum .
RUN go mod download
COPY . .
CMD [ "go", "run", "." ]