PYRSS-Bot/Dockerfile
Corban-Lee Jones 8c6a57c42a
All checks were successful
Build and Push Docker Image / build (push) Successful in 38s
Update Dockerfile
2024-08-13 23:27:04 +01:00

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"]