Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -17,13 +17,13 @@ RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
|
17 |
# Install nslookup (dnsutils) for debugging
|
18 |
RUN apt-get update && apt-get install -y dnsutils
|
19 |
|
20 |
-
# Copy
|
21 |
COPY --chown=user . /app
|
22 |
|
23 |
-
# Open the
|
24 |
EXPOSE 7860
|
25 |
# 8443
|
26 |
# 5000
|
27 |
|
28 |
-
# Run both
|
29 |
CMD ["bash", "start.sh"]
|
|
|
17 |
# Install nslookup (dnsutils) for debugging
|
18 |
RUN apt-get update && apt-get install -y dnsutils
|
19 |
|
20 |
+
# Copy all app files into container
|
21 |
COPY --chown=user . /app
|
22 |
|
23 |
+
# Open the port that FastAPI will use
|
24 |
EXPOSE 7860
|
25 |
# 8443
|
26 |
# 5000
|
27 |
|
28 |
+
# Run the startup script to launch both FastAPI and Telegram Bot
|
29 |
CMD ["bash", "start.sh"]
|