All checks were successful
Build and Deploy Docker Image / build-and-push (push) Successful in 2m10s
13 lines
372 B
Docker
Executable File
13 lines
372 B
Docker
Executable File
FROM python:3.11-slim-bookworm
|
|
|
|
RUN apt-get update \
|
|
&& apt-get install --yes --quiet --no-install-recommends \
|
|
openbabel \
|
|
&& apt-get clean && rm -rf /var/lib/apt/lists/*
|
|
|
|
WORKDIR /var/local
|
|
COPY requirements.txt .
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
COPY src .
|
|
CMD uvicorn app:app --host 0.0.0.0 --port ${PORT} --log-level warning
|