refactor docker deployment
This commit is contained in:
parent
98794b3e7b
commit
3896f5242b
8 changed files with 29 additions and 85 deletions
|
@ -4,14 +4,18 @@ LABEL maintainers="dirtycajunrice,samwiseg0"
|
|||
|
||||
ENV DEBUG="False"
|
||||
|
||||
COPY / /app
|
||||
WORKDIR /app
|
||||
|
||||
COPY /tmp/qemu-arm-static /usr/bin/qemu-arm-static
|
||||
COPY /qemu-arm-static /usr/bin/qemu-arm-static
|
||||
|
||||
COPY /requirements.txt /Varken.py /app/
|
||||
|
||||
COPY /varken /app/varken
|
||||
|
||||
COPY /data /app/data
|
||||
|
||||
RUN python3 -m pip install -r /app/requirements.txt
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
CMD cp /app/data/varken.example.ini /config/varken.example.ini && python3 /app/Varken.py --data-folder /config
|
||||
|
||||
VOLUME /config
|
Loading…
Add table
Add a link
Reference in a new issue