Spaces:
Sleeping

File size: 587 Bytes
d804ba3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9aad72a
d804ba3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM python:3.11-slim

RUN apt-get update && apt-get install -y \
    wget gnupg unzip curl libnss3 libatk-bridge2.0-0 \
    libdrm2 libxkbcommon0 libgbm1 libasound2 \
    --no-install-recommends \
    && rm -rf /var/lib/apt/lists/*

RUN curl -sSL https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb -o chrome.deb \
    && apt-get update && apt-get install -y ./chrome.deb --no-install-recommends \
    && rm chrome.deb

WORKDIR /app
COPY . .
RUN pip install --no-cache-dir -r requirements.txt

EXPOSE 7860
ENV PYTHONUNBUFFERED=1
CMD ["python", "sentinel_alpha.py"]