openenv-secaudit / Dockerfile
dexter-2k's picture
Upload folder using huggingface_hub
da0a862 verified
Raw
History Blame Contribute Delete
550 Bytes
FROM python:3.11-slim
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1 \
PIP_NO_CACHE_DIR=1
WORKDIR /app
RUN apt-get update && apt-get install -y --no-install-recommends \
bash \
ca-certificates \
curl \
git \
git-filter-repo \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt /app/requirements.txt
RUN python -m pip install --upgrade pip && \
python -m pip install -r /app/requirements.txt
COPY . /app
RUN chmod +x /app/hf_space_entrypoint.sh
EXPOSE 7860
CMD ["bash", "/app/hf_space_entrypoint.sh"]