ralphwetzel / theonionbox

Dashboard to monitor Tor node operations
MIT License
121 stars 17 forks source link

Very basic Dockerfile #64

Closed omnibrain closed 5 years ago

ralphwetzel commented 5 years ago

Hi! Thank you for providing this PR. I'm yet unsure if it works as expected:

FROM python:3.7

EXPOSE 8080

COPY setup.py ./
COPY theonionbox ./theonionbox

RUN pip install theonionbox

ENTRYPOINT ["/usr/local/bin/theonionbox"]

Why do you try to create a copy of setup.py and of theonionbox (the directory)? pip will fetch whatever is necessary ... including those files mentioned?

ralphwetzel commented 5 years ago

Docker support implemented with the support of #65. Closing this PR. Thank you.