chore: remove docker files
This commit is contained in:
@@ -1,4 +0,0 @@
|
||||
.DS_Store
|
||||
*.mp3
|
||||
__pycache__
|
||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@@ -249,5 +249,4 @@ $RECYCLE.BIN/
|
||||
|
||||
# End of https://www.toptal.com/developers/gitignore/api/python,windows,macos,linux
|
||||
|
||||
*.wav
|
||||
*.mp3
|
||||
|
17
Dockerfile
17
Dockerfile
@@ -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"]
|
||||
|
Reference in New Issue
Block a user