Adds first steps towards auto tests
This commit is contained in:
12
tests/Dockerfile
Normal file
12
tests/Dockerfile
Normal file
@@ -0,0 +1,12 @@
|
||||
FROM debian8_python3
|
||||
|
||||
COPY app/requirements.txt /requirements.txt
|
||||
RUN pip3 install -r /requirements.txt; \
|
||||
mkdir /data
|
||||
|
||||
ADD app /app
|
||||
|
||||
VOLUME ["/data"]
|
||||
VOLUME ["/app/config]
|
||||
EXPOSE 5000
|
||||
ENTRYPOINT python3 /app/main.py
|
||||
Reference in New Issue
Block a user