Spaces:
Sleeping
Sleeping
Castri1
commited on
Commit
·
ec67e7b
1
Parent(s):
c40c0e8
Refactor Dockerfile to remove unnecessary host binding
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
# Use a Python 3.12 base image
|
| 2 |
-
FROM python:3.12
|
| 3 |
|
| 4 |
# Create a user and set environment variables
|
| 5 |
RUN useradd -m -u 1000 user && \
|
|
@@ -24,4 +24,4 @@ COPY --chown=user requirements.txt $HOME/app/requirements.txt
|
|
| 24 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 25 |
|
| 26 |
# Specify the command to run your application
|
| 27 |
-
CMD ["chainlit", "run", "app.py", "--port", "7860"]
|
|
|
|
| 1 |
# Use a Python 3.12 base image
|
| 2 |
+
FROM python:3.12
|
| 3 |
|
| 4 |
# Create a user and set environment variables
|
| 5 |
RUN useradd -m -u 1000 user && \
|
|
|
|
| 24 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 25 |
|
| 26 |
# Specify the command to run your application
|
| 27 |
+
CMD ["chainlit", "run", "app.py", "--port", "7860", "--host", "0.0.0.0"]
|