Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +2 -5
Dockerfile
CHANGED
|
@@ -13,11 +13,8 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
| 13 |
# Copy the current directory contents into the container at /app
|
| 14 |
COPY . .
|
| 15 |
|
| 16 |
-
# Set environment variables
|
| 17 |
-
ENV OPENAI_API_KEY=${OPENAI_API_KEY}
|
| 18 |
-
|
| 19 |
# Expose the port Chainlit will run on
|
| 20 |
-
EXPOSE
|
| 21 |
|
| 22 |
# Command to run the application
|
| 23 |
-
CMD ["chainlit", "run", "app.py", "--port", "
|
|
|
|
| 13 |
# Copy the current directory contents into the container at /app
|
| 14 |
COPY . .
|
| 15 |
|
|
|
|
|
|
|
|
|
|
| 16 |
# Expose the port Chainlit will run on
|
| 17 |
+
EXPOSE 7860
|
| 18 |
|
| 19 |
# Command to run the application
|
| 20 |
+
CMD ["chainlit", "run", "app.py", "--host", "0.0.0.0", "--port", "7860"]
|