This repository has been archived on 2026-08-18. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
2022ST-project-Phikipathia/Dockerfile
Tibo De Peuter a3fd5f212e
Some checks failed
Build, Push, and Release / build-and-push (push) Failing after 1m57s
Build, Push, and Release / create-release (push) Has been skipped
ci(docker): containerize application and add forgejo release workflow
2026-08-18 18:22:00 +02:00

18 lines
417 B
Docker

FROM python:3.11-slim
WORKDIR /app
# Prevent Python from writing .pyc files & buffer stdout/stderr
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1 \
PORT=8000 \
USER_AGENT="Phikipathia/1.0 (https://git.depeuter.dev/tdpeuter/2022ST-project-Phikipathia; tibo@depeuter.dev)"
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 8000
CMD ["python", "server.py"]