Skip to content

Commit 249bf08

Browse files
authored
Create Dockerfile to run BoDeGHa in docker container (#26)
* create dockerfile * update versions for python packages and docker file image * fix all python packages versions
1 parent be302b8 commit 249bf08

3 files changed

Lines changed: 23 additions & 8 deletions

File tree

Dockerfile

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
FROM bitnami/python:3.9.13
2+
3+
# Move in server folder
4+
WORKDIR /bodegha
5+
6+
# Copy requirements.txt and install all dependencies
7+
COPY requirements.txt ./
8+
RUN pip install --no-cache-dir -r requirements.txt
9+
10+
# Copy all files in server directory
11+
COPY . .
12+
13+
# Run bodegha.py
14+
ENTRYPOINT [ "python", "bodegha.py"]
15+
CMD ["--help"]

requirement.txt

Lines changed: 0 additions & 8 deletions
This file was deleted.

requirements.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
pandas==2.2.1
2+
numpy==1.26.4
3+
scikit-learn==1.0.1
4+
argparse==1.1
5+
tqdm==4.41.1
6+
urllib3==1.25
7+
python-levenshtein==0.12.0
8+
python-dateutil==2.9.0.post0

0 commit comments

Comments
 (0)