updated docker file
Browse files- Dockerfile +19 -0
Dockerfile
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM python:3.10
|
2 |
+
|
3 |
+
WORKDIR /app
|
4 |
+
|
5 |
+
|
6 |
+
COPY backend /app/backend
|
7 |
+
COPY frontend /app/frontend
|
8 |
+
|
9 |
+
|
10 |
+
COPY requirements.txt /app/requirements.txt
|
11 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
12 |
+
|
13 |
+
|
14 |
+
COPY start.sh /app/start.sh
|
15 |
+
RUN chmod +x /app/start.sh
|
16 |
+
|
17 |
+
EXPOSE 7860
|
18 |
+
|
19 |
+
CMD ["/app/start.sh"]
|