Add docker & docker-compose file

Resolves #9
This commit is contained in:
Lakhan Samani
2021-07-18 17:50:22 +05:30
parent 367d02f86e
commit 01eb10bb71
957 changed files with 967 additions and 0 deletions

11
Dockerfile Normal file
View File

@@ -0,0 +1,11 @@
FROM golang:1.16-alpine as builder
WORKDIR /app
COPY . .
RUN apk add build-base && cd server && go mod download && go build && chmod 777 server && ls -l
EXPOSE 8080
ENTRYPOINT [ "/app/server/server" ]