microhum commited on
Commit
d3c346a
·
1 Parent(s): 5b15447

try again pls

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -18
Dockerfile CHANGED
@@ -1,20 +1,4 @@
1
  FROM ubuntu:18.04
2
- RUN apt-get -y update && apt-get install software-properties-common \
3
- && add-apt-repository ppa:deadsnakes/ppa && apt-get install python3.10 && apt-get install python3-pip
4
 
5
- # Set home to the user's home directory
6
- ENV HOME=/home/user
7
-
8
- WORKDIR $HOME/app
9
-
10
- COPY . $HOME/app
11
-
12
- COPY ./packages.txt /code/packages.txt
13
- RUN xargs sudo apt-get install -y <packages.txt
14
-
15
- COPY /home/usr/lib/python3 /home/usr/lib/python3.10/dist-packages/
16
-
17
- COPY ./requirements.txt /code/requirements.txt
18
- RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
19
-
20
- CMD ["streamlit", "app.py", "--server.port", "7860"]
 
1
  FROM ubuntu:18.04
2
+ RUN apt-get -y update && apt-get -y install software-properties-common \
3
+ && add-apt-repository -y ppa:deadsnakes/ppa && apt-get -y install python3.10 && apt-get -y install python3-pip
4