Archived
1
0
Fork 0

Add Dockerfile

Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
Julien Riou 2021-03-09 10:55:44 +01:00
parent f7d10a00e5
commit 21e40e9079
No known key found for this signature in database
GPG key ID: FF42D23B580C89F7
2 changed files with 36 additions and 10 deletions

11
Dockerfile Normal file
View file

@ -0,0 +1,11 @@
FROM golang:1.16-alpine
WORKDIR /src/
COPY * /src/
RUN apk add --update alpine-sdk \
&& make \
&& mv bin/restockbot /usr/local/bin/restockbot \
&& rm -rf /src/*
WORKDIR /root/