FidoTest / Dockerfile
PaulMartrenchar's picture
fx
6aad82f
raw
history blame contribute delete
343 Bytes
FROM ubuntu:24.04
RUN apt update && apt upgrade -y && apt install -y python3 python3-pip python3-flask python3-oscrypto
WORKDIR /app
COPY requirements.txt ./requirements.txt
RUN pip install -r requirements.txt --break-system-packages
COPY app.py ./app.py
COPY static ./static
ENV FLASK_ENV=production
EXPOSE 7860
CMD ["python3","app.py"]