mirror of
https://github.com/ION606/static-site-hosting.git
synced 2026-05-14 22:16:54 +00:00
c1f26094de
* split into files * attempted path fix * perms fix * added missed functions * fixed circular dependancy * I hate splitting * env fix * path fix
17 lines
263 B
Docker
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"]
|