Some checks failed
Build and Push Docker Image / build (push) Failing after 3s
16 lines
322 B
Docker
16 lines
322 B
Docker
FROM python:3.12.5-slim-buster
|
|
|
|
# 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"] |