Skip to content

Commit

Permalink
Merge pull request #11 from daisybio/container_fix
Browse files Browse the repository at this point in the history
Update docker image
  • Loading branch information
LeonHafner authored Sep 23, 2024
2 parents 2265041 + 6587a59 commit dd23c44
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 35 deletions.
11 changes: 8 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
from alpine:3.11.6
FROM python:3.12.6-bullseye

RUN apk add --no-cache python3-dev mariadb-connector-c-dev build-base linux-headers\
&& pip3 install --upgrade pip
# Install required packages using apt
RUN apt-get update && apt-get install -y \
libmariadb3 libmariadb-dev build-essential linux-headers-amd64 \
&& rm -rf /var/lib/apt/lists/*

# Upgrade pip
RUN pip3 install --upgrade pip

WORKDIR /server
COPY . /server
Expand Down
64 changes: 32 additions & 32 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
certifi==2019.6.16
chardet==3.0.4
Click==7.0
clickclick==1.2.2
connexion~=2.3.0
Flask~=1.1.1
flask-marshmallow==0.10.1
Flask-SQLAlchemy==2.4.0
Flask-Cors==3.0.8
idna==2.8
inflection==0.3.1
itsdangerous==1.1.0
Jinja2==2.10.1
jsonschema==2.6.0
MarkupSafe==1.1.1
marshmallow~=2.19.5
marshmallow-sqlalchemy==0.17.0
mysqlclient==1.4.2.post1
openapi-spec-validator==0.2.8
PyYAML==5.1.2
requests==2.22.0
six==1.12.0
SQLAlchemy~=1.3.6
swagger-ui-bundle==0.0.5
urllib3==1.25.3
Werkzeug~=0.15.5
gseapy==1.0.6
matplotlib==3.7.2
numpy==1.24.4
pandas==2.0.3
scikit-learn==1.3.1
scipy==1.10.1
certifi==2024.8.30
chardet==5.2.0
click==8.1.3
clickclick==1.2.2
connexion==3.1.0
flask-cors==4.0.0
flask-marshmallow==1.2.1
flask-sqlalchemy==3.1.1
flask==3.0.3
idna==3.10
inflection==0.5.1
itsdangerous==2.2.0
jinja2==3.1.4
jsonschema==4.23.0
markupsafe==2.1.5
marshmallow-sqlalchemy==1.0.0
marshmallow==3.22.0
matplotlib==3.9.2
mysqlclient==2.2.4
numpy==2.1.1
openapi-spec-validator==0.7.1
pandas==2.2.3
pyyaml==6.0.2
requests==2.32.3
scikit-learn==1.5.2
scipy==1.14.1
six==1.16.0
sqlalchemy==2.0.35
swagger-ui-bundle==1.1.0
urllib3==2.2.3
uwsgi==2.0.23
werkzeug==3.0.4

0 comments on commit dd23c44

Please sign in to comment.