relay/Dockerfile
Louise de Beaufort a8c81f1d40 Add the whole directory in the workdir
(Prevents a fatal error about not being a git repository)
2019-08-20 13:52:27 +02:00

12 lines
233 B
Docker

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
ADD . /workdir/
CMD ["python", "-m", "relay"]
VOLUME ["/workdir/data"]