Spaces:
Sleeping

Sentinel-Omega-Node / Dockerfile
ssambra's picture
Update Dockerfile
9aad72a verified
Raw History Blame Contribute Delete
587 Bytes
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"]