initial commit
This commit is contained in:
12
Dockerfile
Normal file
12
Dockerfile
Normal file
@@ -0,0 +1,12 @@
|
||||
# Use the official Python image
|
||||
FROM python:3.12-slim
|
||||
|
||||
WORKDIR /code
|
||||
|
||||
COPY ./requirements.txt /code/requirements.txt
|
||||
|
||||
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
||||
|
||||
COPY . /code/app
|
||||
|
||||
CMD ["fastapi", "run", "app/main.py", "--port", "8000"]
|
||||
Reference in New Issue
Block a user