Add the whole directory in the workdir
(Prevents a fatal error about not being a git repository)
This commit is contained in:
parent
1fb8ca9ffc
commit
a8c81f1d40
|
@ -2,11 +2,10 @@ FROM python:3-alpine
|
||||||
WORKDIR /workdir
|
WORKDIR /workdir
|
||||||
RUN apk add alpine-sdk autoconf automake libtool gcc
|
RUN apk add alpine-sdk autoconf automake libtool gcc
|
||||||
|
|
||||||
ADD relay /workdir/relay
|
|
||||||
ADD requirements.txt /workdir/
|
ADD requirements.txt /workdir/
|
||||||
RUN pip3 install -r requirements.txt
|
RUN pip3 install -r requirements.txt
|
||||||
|
|
||||||
ADD relay.yaml /workdir/
|
ADD . /workdir/
|
||||||
CMD ["python", "-m", "relay"]
|
CMD ["python", "-m", "relay"]
|
||||||
|
|
||||||
VOLUME ["/workdir/data"]
|
VOLUME ["/workdir/data"]
|
||||||
|
|
Loading…
Reference in a new issue