advimman-lama
RUNNING
History Source
SummaryIterations1Transcript2Dockerfile
01Iteration 1
WRITEWriteFile· step #1
0s
Dockerfile538 bytes written
text28 lines · 538 chars
FROM python:3.8-slim

RUN apt-get update && \
    apt-get install -y --no-install-recommends \
      build-essential \
      git \
      wget \
      ca-certificates \
      libgl1 \
      libglib2.0-0 \
      libsm6 \
      libxext6 \
      libxrender1 \
      ffmpeg \
    && rm -rf /var/lib/apt/lists/*

ENV PYTHONUNBUFFERED=1

WORKDIR /opt/lama
COPY . /opt/lama

RUN pip install --no-cache-dir --upgrade pip && \
    if [ -f requirements.txt ]; then \
      pip install --no-cache-dir -r requirements.txt; \
    fi

CMD ["/bin/bash"]
WRITEWriteFile· step #2
0s
.dockerignore149 bytes written
dockerignore19 lines · 149 chars
__pycache__/
*.pyc
*.pyo
*.pyd
*.swp
*.DS_Store
.git/
env/
venv/
*.egg-info/
build/
dist/
*.log
*.tmp
*.ipynb_checkpoints
*.ipynb
*.cache
**/data/**