CazimirRoman commited on
Commit
730769f
1 Parent(s): 250bd66

fix app start on hf

Browse files
Files changed (2) hide show
  1. Dockerfile +5 -2
  2. app/app.py → app.py +0 -0
Dockerfile CHANGED
@@ -18,12 +18,15 @@ ENV HOME=/home/user
18
  ENV PATH=/home/user/.local/bin:$PATH
19
 
20
  # Set the working directory to the user's home directory
 
 
21
  WORKDIR $HOME/app
 
22
 
23
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
24
- COPY --chown=user . $HOME/app
25
 
26
- COPY ./app /code/app
27
 
28
  EXPOSE 8501
29
  CMD streamlit run app/app.py \
 
18
  ENV PATH=/home/user/.local/bin:$PATH
19
 
20
  # Set the working directory to the user's home directory
21
+ WORKDIR $HOME
22
+ RUN mkdir app
23
  WORKDIR $HOME/app
24
+ COPY . $HOME/app
25
 
26
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
27
+ # COPY --chown=user . $HOME/app
28
 
29
+ # COPY ./app /code/app
30
 
31
  EXPOSE 8501
32
  CMD streamlit run app/app.py \
app/app.py → app.py RENAMED
File without changes