Change Dockerfile to make it work
This commit is contained in:
parent
5c5f212d70
commit
2d92a74a59
|
@ -1,11 +1,10 @@
|
|||
FROM python:3-alpine
|
||||
WORKDIR /workdir
|
||||
WORKDIR /src
|
||||
RUN apk add alpine-sdk autoconf automake libtool gcc
|
||||
|
||||
ADD requirements.txt /workdir/
|
||||
RUN pip3 install -r requirements.txt
|
||||
ADD . /src/
|
||||
RUN pip3 install .
|
||||
|
||||
ADD . /workdir/
|
||||
CMD ["python", "-m", "relay"]
|
||||
|
||||
VOLUME ["/workdir/data"]
|
||||
VOLUME ["/src/data"]
|
||||
|
|
Loading…
Reference in New Issue