File tree Expand file tree Collapse file tree 2 files changed +18
-9
lines changed
Expand file tree Collapse file tree 2 files changed +18
-9
lines changed Original file line number Diff line number Diff line change 1- FROM python:3.11
1+ FROM python:3.9
22
33WORKDIR /app
44
@@ -22,12 +22,13 @@ RUN apt-get update && apt-get install -y \
2222 python3-dev
2323
2424# Install python dependencies
25- RUN pip install --upgrade pip setuptools wheel
26- RUN pip install --no-deps \
27- spinetoolbox==0.7.4 \
28- spine_engine==0.23.4 \
29- spine_items==0.21.5 \
30- spinedb_api==0.30.5
31- RUN pip install -r requirements.txt
25+ # RUN pip install --upgrade pip setuptools wheel
26+ # RUN pip install --no-deps \
27+ # spinetoolbox==0.7.4 \
28+ # spine_engine==0.23.4 \
29+ # spine_items==0.21.5 \
30+ # spinedb_api==0.30.5
31+ # RUN pip install -r requirements.txt
32+ RUN pip install gdx2py>=2.1.0 --verbose
3233
33- ENTRYPOINT ["python" , "src/app.py" ]
34+ # ENTRYPOINT ["python", "src/app.py" ]
Original file line number Diff line number Diff line change 1010build :
1111 docker compose build --no-cache
1212
13+ # target: up - Start the docker container.
14+ up :
15+ docker compose up
16+
17+ # target: down - Stop the docker container.
18+ down :
19+ docker compose down -v
20+
1321# target: run - Run local web server.
1422run :
1523 python src/app.py
You can’t perform that action at this time.
0 commit comments