All checks were successful
Build and Push Docker Image / build (push) Successful in 38s
16 lines
324 B
Docker
16 lines
324 B
Docker
FROM python:3.12.5-slim-bullseye
|
|
|
|
# python related environment variables
|
|
ENV PYTHONDONTWRITEBYTECODE 1
|
|
ENV PYTHONUNBUFFERED 1
|
|
|
|
WORKDIR /app
|
|
|
|
# install python dependencies
|
|
COPY requirements.txt /app/
|
|
RUN pip install --upgrade pip
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
COPY . /app/
|
|
|
|
CMD ["python", "src/main.py"] |