Dockerfile 257 B

12345678910111213
  1. FROM tanlie/python:3.12-slim
  2. WORKDIR /app
  3. COPY requirements.txt ./
  4. RUN python -m pip install --upgrade pip setuptools wheel \
  5. && python -m pip install --no-cache-dir -r requirements.txt
  6. COPY . .
  7. EXPOSE 5000
  8. CMD ["uwsgi", "--ini", "/app/uwsgi.ini"]