Add the whole directory in the workdir

(Prevents a fatal error about not being a git repository)
This commit is contained in:
Louise de Beaufort 2019-08-20 13:52:27 +02:00
parent 1fb8ca9ffc
commit a8c81f1d40

View file

@ -2,11 +2,10 @@ FROM python:3-alpine
WORKDIR /workdir
RUN apk add alpine-sdk autoconf automake libtool gcc
ADD relay /workdir/relay
ADD requirements.txt /workdir/
RUN pip3 install -r requirements.txt
ADD relay.yaml /workdir/
ADD . /workdir/
CMD ["python", "-m", "relay"]
VOLUME ["/workdir/data"]