2019-08-20 10:38:53 +00:00
|
|
|
FROM python:3-alpine
|
|
|
|
WORKDIR /workdir
|
|
|
|
RUN apk add alpine-sdk autoconf automake libtool gcc
|
|
|
|
|
|
|
|
ADD requirements.txt /workdir/
|
|
|
|
RUN pip3 install -r requirements.txt
|
|
|
|
|
2019-08-20 11:52:27 +00:00
|
|
|
ADD . /workdir/
|
2019-08-20 10:38:53 +00:00
|
|
|
CMD ["python", "-m", "relay"]
|
|
|
|
|
|
|
|
VOLUME ["/workdir/data"]
|