Add in the dockerfile and the docker compose files
This commit is contained in:
parent
af2411ad6a
commit
a0725fea0b
2 changed files with 76 additions and 0 deletions
16
Dockerfile
Normal file
16
Dockerfile
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
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/wipeboltcard
|
||||
RUN go build
|
||||
|
||||
WORKDIR /App
|
||||
|
||||
ENTRYPOINT ["/App/boltcard"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue