Files
static-site-hosting/Dockerfile
T
ION606 c1f26094de Split routes into multiple files (#2)
* split into files

* attempted path fix

* perms fix

* added missed functions

* fixed circular dependancy

* I hate splitting

* env fix

* path fix
2025-02-18 01:27:40 +00:00

17 lines
263 B
Docker

FROM python:3.9-slim
# disable buffering to show logs in real time
ENV PYTHONUNBUFFERED=1
# set working directory to /app
WORKDIR /app
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 5121
CMD ["python", "run.py"]