Spaces:
Runtime error
Runtime error
Dmitry Beresnev
commited on
Commit
·
147142a
1
Parent(s):
b1b6c4e
fix dockerfile
Browse files- Dockerfile +2 -1
- src/__init__.py +0 -0
Dockerfile
CHANGED
|
@@ -17,7 +17,8 @@ ENV HOME=/home/user \
|
|
| 17 |
|
| 18 |
ENV PYTHONPATH="$HOME/.local/lib/python3.12/site-packages:$PYTHONPATH"
|
| 19 |
|
| 20 |
-
|
|
|
|
| 21 |
|
| 22 |
# Set the working directory to the user's home directory
|
| 23 |
WORKDIR $HOME/app
|
|
|
|
| 17 |
|
| 18 |
ENV PYTHONPATH="$HOME/.local/lib/python3.12/site-packages:$PYTHONPATH"
|
| 19 |
|
| 20 |
+
# Set Python path so `src.telegram_bot` is importable
|
| 21 |
+
ENV PYTHONPATH=/home/user/app
|
| 22 |
|
| 23 |
# Set the working directory to the user's home directory
|
| 24 |
WORKDIR $HOME/app
|
src/__init__.py
ADDED
|
File without changes
|