Commit 1e556caa authored by Matteo's avatar Matteo
Browse files

update Docker script and readme requirements

parent fa141ccd
venv
__pycache__
\ No newline at end of file
.idea
.DS_Store
venv
__pycache__
FROM python:3.9-slim
FROM python:3.10-slim
LABEL maintainer="Matteo Spanio"
WORKDIR /app
COPY packager.py requirements.txt config.yaml ./
COPY . ./
RUN pip install -r requirements.txt
RUN pip install --no-cache-dir -r requirements.txt
VOLUME [ "/data" ]
CMD [ "python3", "packager.py", "-h" ]
CMD ["uvicorn", "server:app", "--host", "0.0.0.0", "--port", "80", "--log-config", "log_config.yaml"]
\ No newline at end of file
......@@ -15,7 +15,7 @@ Implements the Technical Specification of [MPAI CAE-ARP](https://mpai.community/
4. Irregularity File.
## Getting started
The *Packager* is written in Python 3.9 which is therefore required to run the program.
The *Packager* is written in Python 3.10 which is therefore required to run the program.
## Installation
[PyYaml](https://pyyaml.org) is required for reading the configuration file. You can install it with:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment