cvai-deepseek-janus / Dockerfile
Milano Hyacinthe
Updating Dockerfile for more info
a78bbf8
raw
history blame contribute delete
497 Bytes
# Use the PyTorch base image
FROM pytorch/pytorch:latest
# Create a new user
RUN useradd -m -u 1000 user
USER user
ENV HOME=/home/user \
PATH=/home/user/.local/bin:$PATH
# Set the working directory inside the container
WORKDIR /app
# Copy the current directory into the container
COPY --chown=user . /app
# Install necessary Python packages
RUN pip install --no-cache-dir -e .[gradio]
# Set the entrypoint for the container to launch your Gradio app
CMD ["python", "demo/app_januspro.py"]