Karlo Pintaric commited on
Commit
b606af6
1 Parent(s): 34125af

Delete DockerFile

Browse files
Files changed (1) hide show
  1. DockerFile +0 -17
DockerFile DELETED
@@ -1,17 +0,0 @@
1
- # Use an official Python runtime as the base image
2
- FROM python:3.9-slim
3
-
4
- # Set the working directory in the container
5
- WORKDIR /app
6
-
7
- # Copy the setup.py file and the package directory into the container
8
- COPY ./setup.py .
9
-
10
- # Install the package and its dependencies
11
- COPY ./src ./src
12
-
13
- RUN pip install --no-cache-dir .[backend] torch==1.13.1+cpu torchvision==0.14.1+cpu torchaudio==0.13.1 --extra-index-url https://download.pytorch.org/whl/cpu
14
-
15
- EXPOSE 7860
16
-
17
- CMD ["uvicorn", "src.api.main:app", "--host", "0.0.0.0", "--port", "7860"]