Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
MPAI-Private
MPAI-CAE
arp
Packager
Commits
1e556caa
Commit
1e556caa
authored
Apr 03, 2023
by
Matteo
Browse files
update Docker script and readme requirements
parent
fa141ccd
Changes
4
Hide whitespace changes
Inline
Side-by-side
.dockerignore
0 → 100644
View file @
1e556caa
venv
__pycache__
\ No newline at end of file
.gitignore
View file @
1e556caa
.idea
.DS_Store
venv
__pycache__
Dockerfile
View file @
1e556caa
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
README.md
View file @
1e556caa
...
...
@@ -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:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment