b7685ad15f
* Fastapi base Dockerfile * requirements.txt for fastapi project * Add documentation on how to run the application * Add entrypoint for fastapi application * Add docker-compose.yml for fastapi Signed-off-by: vjanz <valon.januzaj98@gmail.com>
12 lines
180 B
Docker
12 lines
180 B
Docker
FROM tiangolo/uvicorn-gunicorn-fastapi:python3.9-slim
|
|
|
|
WORKDIR /app
|
|
|
|
RUN apt update
|
|
|
|
COPY requirements.txt ./
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
COPY ./app ./app
|
|
|