File tree 2 files changed +10
-26
lines changed
2 files changed +10
-26
lines changed Original file line number Diff line number Diff line change @@ -44,29 +44,16 @@ RUN wget https://www.python.org/ftp/python/3.11.0/Python-3.11.0.tar.xz \
44
44
# Remove the Python source and tarball to reduce image size
45
45
RUN rm -rf Python-3.11.0.tar.xz Python-3.11.0
46
46
47
- # Install Python and Poetry
48
- RUN python3 -m ensurepip && \
49
- pip3 install --upgrade pip setuptools
50
-
51
- # Install PyArrow in ALPINE
52
- # # https://stackoverflow.com/questions/49059779/how-to-install-pyarrow-on-an-alpine-docker-image/53116069#53116069
53
- # # https://discuss.streamlit.io/t/anyone-tried-to-install-streamlit-in-alpine-docker-image/56893
54
- RUN apk update && apk add \
55
- apache-arrow-dev \
56
- py3-pyarrow \
57
- && rm -rf /var/lib/apt/lists/*
58
-
59
- RUN pip3 install --upgrade pip && \
60
- pip3 install --break-system-packages numpy pyarrow==12.0.0
61
-
62
- # Add your application's source code
47
+ # Adding odtp source code and installing it.
63
48
COPY . /app
64
49
WORKDIR /app
65
50
RUN pip3 install --break-system-packages $PIP_INSTALL_ARGS .
66
51
52
+ # Symbolic link to ODTP_PATH to facilitate debugging
53
+ RUN ln -s $ODTP_PATH /ODTP_PATH
54
+
67
55
# Symbolic link between python and python3
68
- RUN rm /usr/bin/python
69
56
RUN ln -s /usr/local/bin/python3 /usr/bin/python
70
57
71
58
# Entry point in a sh session
72
- ENTRYPOINT ["sh" ]
59
+ ENTRYPOINT ["sh" ]
Original file line number Diff line number Diff line change 1
1
[tool .poetry ]
2
2
name = " odtp"
3
- version = " 0.3.0 "
3
+ version = " 0.3.1 "
4
4
description = " A tool to deploy and manage open digital twins"
5
5
authors = [
" caviri <[email protected] >" ,
" sabinem <[email protected] >" ]
6
6
license = " AGPL 3.0"
7
7
readme = " README.md"
8
8
9
9
[tool .poetry .dependencies ]
10
10
python = " ^3.11"
11
+ requests = " 2.32.3"
11
12
pydantic = " 2.5.2"
13
+ numpy = " 1.26.4"
12
14
typer = " 0.9.0"
13
15
pymongo = " >=4.6.3"
14
16
python-dotenv = " ^1.0.0"
15
17
boto3 = " ^1.33.13"
16
- barfi = " ^0.7.0"
17
- streamlit = " ^1.29.0"
18
- st-pages = " ^0.4.5"
19
- streamlit-card = " ^1.0.0"
20
- pygwalker = " ^0.3.17"
21
- streamlit-aggrid = " ^0.3.4.post3"
22
18
nicegui = " 1.4.24"
23
19
directory-tree = " ^0.0.4"
24
20
21
+
25
22
[tool .poetry .group .dev .dependencies ]
26
23
pytest = " ^7.2.1"
27
24
black = " >=24.3.0"
@@ -32,4 +29,4 @@ requires = ["poetry-core"]
32
29
build-backend = " poetry.core.masonry.api"
33
30
34
31
[tool .poetry .scripts ]
35
- odtp = " odtp.cli.main:app"
32
+ odtp = " odtp.cli.main:app"
You can’t perform that action at this time.
0 commit comments