Spaces:
Paused
Paused
DOCKERFILE
Browse files- DOCKERFILE +14 -0
DOCKERFILE
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Use the base image from the registry
|
| 2 |
+
FROM ghcr.io/open-webui/open-webui:main
|
| 3 |
+
|
| 4 |
+
# Expose the internal container port EXPOSE 8080
|
| 5 |
+
EXPOSE 8080
|
| 6 |
+
|
| 7 |
+
# Add host entry for host.docker.internal as host-gateway
|
| 8 |
+
RUN echo "127.0.0.1 host.docker.internal" >> /etc/hosts
|
| 9 |
+
|
| 10 |
+
# Define the volume for persistent storage
|
| 11 |
+
VOLUME /app/backend/data
|
| 12 |
+
|
| 13 |
+
# Default command to run the application
|
| 14 |
+
CMD ["./entrypoint.sh"]
|