diff --git a/.dockerignore b/.dockerignore deleted file mode 100644 index 7573fb0..0000000 --- a/.dockerignore +++ /dev/null @@ -1,4 +0,0 @@ -.DS_Store -*.mp3 -__pycache__ - diff --git a/.gitignore b/.gitignore index 25fed3d..0b3aa71 100644 --- a/.gitignore +++ b/.gitignore @@ -249,5 +249,4 @@ $RECYCLE.BIN/ # End of https://www.toptal.com/developers/gitignore/api/python,windows,macos,linux -*.wav *.mp3 diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 59a3b25..0000000 --- a/Dockerfile +++ /dev/null @@ -1,17 +0,0 @@ -FROM python:3.9 - -WORKDIR /code - -COPY ./requirements.txt /code/requirements.txt - -RUN python --version -RUN pip3 --version - -RUN pip3 install torch==2.1.0 -f https://download.pytorch.org/whl/cu111/torch_stable.html && \ - pip3 install setuptools wheel && \ - pip3 install --no-cache-dir -r /code/requirements.txt -f https://download.pytorch.org/whl/cu111/torch_stable.html - -COPY . /code - -CMD ["fastapi", "run", "server.py", "--port", "8000"] -