Add in the dockerfile and the docker compose files

This commit is contained in:
Chloe Jung 2023-01-31 16:49:18 +13:00
parent af2411ad6a
commit a0725fea0b
2 changed files with 76 additions and 0 deletions

16
Dockerfile Normal file
View 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"]