Spaces:
Runtime error
Runtime error
File size: 493 Bytes
52dd3c8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | FROM python:3.11-slim
RUN apt-get update && apt-get install -y --no-install-recommends \
bash coreutils nano vim-tiny htop git curl wget less \
man-db procps net-tools iputils-ping ca-certificates \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
ENV PORT=7860 \
SHELL=/bin/bash \
TERM=xterm-256color \
COLUMNS=80 \
ROWS=24
EXPOSE 7860
VOLUME ["/data"]
CMD ["python", "app.py"]
|