12 lines
182 B
Text
12 lines
182 B
Text
|
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/
|