Dmitry Beresnev commited on
Commit
147142a
·
1 Parent(s): b1b6c4e

fix dockerfile

Browse files
Files changed (2) hide show
  1. Dockerfile +2 -1
  2. 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
- ENV PYTHONPATH=/home/user/app/src
 
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