dockerize the boltcard service with bundled postgres. updated readme accordingly
This commit is contained in:
parent
009d3e0c3a
commit
e83035e175
5 changed files with 121 additions and 1 deletions
13
Dockerfile
Normal file
13
Dockerfile
Normal 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"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue