Change Dockerfile to make it work

This commit is contained in:
Bofh 2021-12-13 23:30:37 +01:00
parent 5c5f212d70
commit 2d92a74a59
1 changed files with 4 additions and 5 deletions

View File

@ -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"]