Spaces:
Configuration error
Configuration error
Kangarroar
commited on
Commit
•
be973ef
1
Parent(s):
afd85cb
Create Dockerfile
Browse files- Dockerfile +16 -0
Dockerfile
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM python:3.8.10
|
2 |
+
|
3 |
+
WORKDIR /app
|
4 |
+
|
5 |
+
COPY ./requirements.txt /code/requirements.txt
|
6 |
+
|
7 |
+
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
8 |
+
RUN pip install streamlit
|
9 |
+
|
10 |
+
WORKDIR /app
|
11 |
+
WORKDIR $HOME
|
12 |
+
RUN mkdir app
|
13 |
+
WORKDIR $HOME/app
|
14 |
+
COPY . $HOME/app
|
15 |
+
|
16 |
+
CMD streamlit run app.py --server.maxUploadSize 1024
|