fast-file-server / Dockerfile
legenedserver's picture
Update Dockerfile
51dc520 verified
Raw History Blame Contribute Delete
285 Bytes
FROM python:3.11-slim
RUN pip install aiohttp
WORKDIR /app
COPY requirements.txt /app/
RUN pip install --no-cache-dir -r requirements.txt
COPY data.py /app/
COPY credits.html /app/
RUN sed -i 's/PORT = 8888/PORT = 7860/' /app/data.py
EXPOSE 7860
CMD ["python3", "/app/data.py"]