Spaces:
Runtime error
Runtime error
Old dockerfile
Browse filesSigned-off-by: Unai Garay <unaigaraymaestre@gmail.com>
- Dockerfile +4 -5
Dockerfile
CHANGED
@@ -1,9 +1,8 @@
|
|
1 |
FROM python:3.9
|
2 |
-
|
3 |
-
|
4 |
RUN apt-get update && xargs -r -a packages.txt apt-get install -y && rm -rf /var/lib/apt/lists/*
|
5 |
-
COPY requirements.txt /home/user/app/requirements.txt
|
6 |
RUN pip3 install --no-cache-dir -r requirements.txt
|
7 |
RUN pip3 install --no-cache-dir streamlit==1.10.0
|
8 |
-
|
9 |
-
|
|
|
1 |
FROM python:3.9
|
2 |
+
COPY . /app
|
3 |
+
WORKDIR /app
|
4 |
RUN apt-get update && xargs -r -a packages.txt apt-get install -y && rm -rf /var/lib/apt/lists/*
|
|
|
5 |
RUN pip3 install --no-cache-dir -r requirements.txt
|
6 |
RUN pip3 install --no-cache-dir streamlit==1.10.0
|
7 |
+
EXPOSE 8501
|
8 |
+
CMD streamlit run app.py
|