Move dockerfile
This commit is contained in:
parent
97941aa529
commit
01efeed44f
@ -10,7 +10,6 @@ COPY ./requirements.txt /requirements.txt
|
||||
|
||||
RUN pip3 install -r /requirements.txt
|
||||
|
||||
|
||||
COPY ./ /tmp/pyircbot
|
||||
RUN cd /tmp/pyircbot && \
|
||||
python3 setup.py install
|
||||
@ -19,3 +18,4 @@ ENTRYPOINT ["/usr/local/bin/pyircbot"]
|
||||
WORKDIR /srv/bot/
|
||||
CMD ["-c", "config.json"]
|
||||
USER bot
|
||||
|
@ -3,4 +3,7 @@
|
||||
export PYTHONUNBUFFERED=1
|
||||
export PYTHONPATH=.
|
||||
|
||||
find pyircbot tests -name '*.pyc' -delete
|
||||
find pyircbot tests -name __pycache__ -exec rm -rf {} \;
|
||||
|
||||
py.test --cov=pyircbot --cov-report html -n 4 tests/ $@
|
||||
|
Loading…
Reference in New Issue
Block a user