FROM python:3.12-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
ENV DATABASE=/tmp/quickwallet.db
EXPOSE 5000
#   docker run --rm -p 127.0.0.1:5000:5000 quickwallet
CMD ["flask", "--app", "app:create_app", "run", "--host", "0.0.0.0", "--port", "5000"]
