Spaces:
Sleeping
Sleeping
grapplerulrich
commited on
Commit
·
a3cbe7b
1
Parent(s):
4a3408d
Heroku docker
Browse files- Dockerfile +6 -0
- Procfile +0 -1
- heroku.yml +5 -0
Dockerfile
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM python:3.9
|
2 |
+
EXPOSE 8501
|
3 |
+
WORKDIR /app
|
4 |
+
COPY requirements.txt ./requirements.txt
|
5 |
+
RUN pip3 install -r requirements.txt
|
6 |
+
COPY . .
|
Procfile
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
web: sh setup.sh && streamlit run main.py
|
|
|
|
heroku.yml
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
build:
|
2 |
+
docker:
|
3 |
+
web: Dockerfile
|
4 |
+
run:
|
5 |
+
web: streamlit run --server.port $PORT app.py
|