mickeyshi
commited on
Commit
•
d1524cf
1
Parent(s):
d85fd6f
i'm stuff
Browse files- Dockerfile +1 -1
- compose-dev.yaml +12 -0
Dockerfile
CHANGED
@@ -8,4 +8,4 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
8 |
|
9 |
COPY . .
|
10 |
|
11 |
-
CMD ["uvicorn", "
|
|
|
8 |
|
9 |
COPY . .
|
10 |
|
11 |
+
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
compose-dev.yaml
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
services:
|
2 |
+
app:
|
3 |
+
entrypoint:
|
4 |
+
- sleep
|
5 |
+
- infinity
|
6 |
+
image: docker/dev-environments-default:stable-1
|
7 |
+
init: true
|
8 |
+
volumes:
|
9 |
+
- type: bind
|
10 |
+
source: /var/run/docker.sock
|
11 |
+
target: /var/run/docker.sock
|
12 |
+
|