Skip to content

Commit

Permalink
update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Nelsonlin0321 committed Oct 15, 2024
1 parent 150f8ee commit c11ceff
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.12-bullseye
FROM python:3.10-bullseye

# Set the working directory inside the container
WORKDIR /app
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.aws.lambda
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ RUN pip3 install --no-cache-dir torch --index-url https://download.pytorch.org/w

RUN pip3 install --no-cache-dir -r requirements.txt

RUN pip3 install --no-cache-dir --upgrade typing_extensions==4.7.1
RUN pip3 install --no-cache-dir --upgrade typing_extensions==4.8.0
# Set the CMD to your handler (could also be done as a parameter override outside of the Dockerfile)
CMD [ "server.handler" ]
8 changes: 4 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
fastapi==0.105.0
uvicorn==0.25.0
boto3==1.34.23
fastapi
uvicorn
boto3
mangum
pandas
pyarrow
python-dotenv
scikit-learn
tqdm
awscli
gunicorn==21.2.0
gunicorn
pytest

0 comments on commit c11ceff

Please sign in to comment.