Spaces:
Running
Running
File size: 292 Bytes
dbc930a f4b7c2f dbc930a | 1 2 3 4 5 6 7 8 9 10 11 12 13 | FROM python:3.10-slim
RUN useradd -m -u 1000 user
USER user
ENV HOME=/home/user \
PATH=/home/user/.local/bin:$PATH
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 7860
CMD python3 -m http.server 7860 & echo '2' | python bot.py
|