Spaces:
Running
Running
Ali Moughnieh
commited on
Commit
·
b1628ed
1
Parent(s):
3571ca8
Add Dockerfile and dockerignore
Browse files- .dockerignore +7 -0
- Dockerfile +12 -0
.dockerignore
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.git
|
2 |
+
.idea
|
3 |
+
__pycache__
|
4 |
+
venv
|
5 |
+
.env
|
6 |
+
.gitignore
|
7 |
+
data/raw_documents/
|
Dockerfile
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM python:3.10-slim
|
2 |
+
|
3 |
+
WORKDIR /app
|
4 |
+
|
5 |
+
COPY requirements.txt .
|
6 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
7 |
+
|
8 |
+
COPY . .
|
9 |
+
|
10 |
+
EXPOSE 8501
|
11 |
+
|
12 |
+
CMD ["streamlit", "run", "app.py"]
|