Upload 3 files
Browse files- Dockerfile +11 -0
- docker-compose.yml +0 -0
- requirements.txt +2 -0
Dockerfile
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM python:latest
|
2 |
+
|
3 |
+
WORKDIR /api
|
4 |
+
|
5 |
+
COPY requirements.txt requirements.txt
|
6 |
+
|
7 |
+
RUN pip install -r requirements.txt
|
8 |
+
|
9 |
+
EXPOSE 8080
|
10 |
+
|
11 |
+
CMD ["streamlit", "run", "app.py", "--server.port", "8080"]
|
docker-compose.yml
ADDED
File without changes
|
requirements.txt
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
streamlit
|
2 |
+
pytorch
|