dockerize the boltcard service with bundled postgres. updated readme accordingly

This commit is contained in:
Orfeas Theofanis 2022-08-28 13:59:10 +03:00
parent 009d3e0c3a
commit e83035e175
5 changed files with 121 additions and 1 deletions

13
Dockerfile Normal file
View file

@ -0,0 +1,13 @@
FROM golang:1.19.0-bullseye
WORKDIR /App
ADD . /App
RUN go build
WORKDIR /App/createboltcard
RUN go get github.com/skip2/go-qrcode
RUN go build
WORKDIR /App
ENTRYPOINT ["/App/boltcard"]