Change Dockerfile to make it work

master
Bofh 8 months ago
parent 5c5f212d70
commit 2d92a74a59
  1. 9
      Dockerfile

@ -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…
Cancel
Save