Add docker

This commit is contained in:
2022-02-14 20:03:53 +01:00
parent 80eb11b0c9
commit e69073ecad
32 changed files with 508 additions and 10 deletions

12
services/entry/Dockerfile Normal file
View 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