Update Dockerfile
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
@@ -6,6 +6,8 @@ COPY . /app
|
|
6 |
|
7 |
RUN pip install --no-cache-dir -r requirements.txt
|
8 |
|
9 |
-
|
|
|
10 |
|
11 |
-
|
|
|
|
6 |
|
7 |
RUN pip install --no-cache-dir -r requirements.txt
|
8 |
|
9 |
+
# Expose both ports
|
10 |
+
EXPOSE 7860 8000
|
11 |
|
12 |
+
# Start both services
|
13 |
+
CMD uvicorn server:app --host 0.0.0.0 --port 8000 & python app.py
|