Add docker
This commit is contained in:
12
services/entry/Dockerfile
Normal file
12
services/entry/Dockerfile
Normal file
@@ -0,0 +1,12 @@
|
||||
FROM golang:1.17-bullseye
|
||||
|
||||
RUN go install github.com/cosmtrek/air@latest
|
||||
# Development don't need this
|
||||
# COPY . /app/
|
||||
WORKDIR /app/
|
||||
|
||||
ARG DATABASE_URL
|
||||
ENV DATABASE_URL DATABASE_URL
|
||||
|
||||
#CMD go run main.go
|
||||
CMD air
|
Reference in New Issue
Block a user