11 lines
182 B
Docker
11 lines
182 B
Docker
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/
|