Sankie005 commited on
Commit
7430fa0
·
1 Parent(s): 7b175b1

Delete Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -33
Dockerfile DELETED
@@ -1,33 +0,0 @@
1
- FROM python:3.10
2
-
3
- # Keeps Python from generating .pyc files in the container
4
- ENV PYTHONDONTWRITEBYTECODE=1
5
-
6
- # Turns off buffering for easier container logging
7
- ENV PYTHONUNBUFFERED=1
8
-
9
- RUN apt update -y && apt install -y \
10
- ffmpeg \
11
- libxext6 \
12
- libsm6 \
13
- && rm -rf /var/lib/apt/lists/*
14
-
15
- RUN python3 -m pip install --upgrade pip
16
- COPY requirements/requirements.device_manager.txt ./
17
- COPY requirements/_requirements.txt ./
18
-
19
- RUN pip3 install --upgrade pip && pip3 install \
20
- -r _requirements.txt \
21
- -r requirements.device_manager.txt \
22
- --upgrade \
23
- && rm -rf ~/.cache/pip
24
-
25
- COPY inference inference
26
- COPY docker/config/device_manager.py device_manager.py
27
-
28
- ENV NUM_WORKERS=1
29
- ENV PORT=7860
30
- ENV HOST=0.0.0.0
31
- ENV ALLOW_WEB_SOCKET_ORIGIN=Sankie005-Docker-ml.hf.space
32
-
33
- ENTRYPOINT uvicorn device_manager:app --workers $NUM_WORKERS --host $HOST --port $PORT --allow_web_socket_origin $ALLOW_WEB_SOCKET_ORIGIN