diff --git a/Dockerfile b/Dockerfile index 1dcd107..56d357b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,7 @@ -FROM python:3.7.6 +FROM python:3.8.1 COPY . /transaction_server -ENV HOST=0.0.0.0 WORKDIR /transaction_server +ENV PYTHONPATH=/transaction_server VOLUME /transaction_server/transactionsDB RUN pip install -r requirements.txt -RUN ln -sf /dev/stdout /var/log/transactions.log CMD ["python", "main.py", "-c", "config.yml"]