ЯRаСлав commited on
Commit ·
f25432c
1
Parent(s): d70fcec
some changes.
Browse files32 unmodified lines333435363738394041424315 unmodified lines59606162636465666768697071727332 unmodified linespip install --no-cache-dir huggingface_hub# # Install OpenVSCode Server# RUN wget https://github.com/gitpod-io/openvscode-server/releases/download/openvscode-server-v1.86.2/openvscode-server-v1.86.2-linux-x64.tar.gz -O /tmp/openvscode-server.tar.gz && \# tar -xzf /tmp/openvscode-server.tar.gz -C /opt && \# rm /tmp/openvscode-server.tar.gz && \# mv /opt/openvscode-server-v1.86.2-linux-x64 /opt/openvscode-server && \# chown -R user:user /opt/openvscode-server# Switch to non-root user for Git configuration and subsequent commands15 unmodified linesENV PORT=8080ENV CUDA_VISIBLE_DEVICES=${CUDA_VISIBLE_DEVICES:-""}# OpenVSCode Server configuration# ENV OPENVSCODE_SERVER_PORT=3000# Optional: Hugging Face model integration# ENV HF_TOKEN=your_huggingface_token# ENV MODEL_NAME=your_model_name# Start both Open WebUI and OpenVSCode Server# CMD ["sh", "-c", "/opt/openvscode-server/bin/openvscode-server --port 3000 --host 0.0.0.0 & bash start.sh"]CMD ["bash", "start.sh"]# COPY --chown=user ./requirements.txt requirements.txt# RUN pip install --no-cache-dir --upgrade -r requirements.txt32 unmodified lines333435363738394041424315 unmodified lines59606162636465666768697071727332 unmodified linespip install --no-cache-dir huggingface_hub# # Install OpenVSCode ServerRUN wget https://github.com/gitpod-io/openvscode-server/releases/download/openvscode-server-v1.86.2/openvscode-server-v1.86.2-linux-x64.tar.gz -O /tmp/openvscode-server.tar.gz && \tar -xzf /tmp/openvscode-server.tar.gz -C /opt && \rm /tmp/openvscode-server.tar.gz && \mv /opt/openvscode-server-v1.86.2-linux-x64 /opt/openvscode-server && \chown -R user:user /opt/openvscode-server# Switch to non-root user for Git configuration and subsequent commands15 unmodified linesENV PORT=8080ENV CUDA_VISIBLE_DEVICES=${CUDA_VISIBLE_DEVICES:-""}# OpenVSCode Server configurationENV OPENVSCODE_SERVER_PORT=3000# Optional: Hugging Face model integration# ENV HF_TOKEN=your_huggingface_token# ENV MODEL_NAME=your_model_name# Start both Open WebUI and OpenVSCode ServerCMD ["sh", "-c", "/opt/openvscode-server/bin/openvscode-server --port 3000 --host 0.0.0.0 & bash start.sh"]# CMD ["bash", "start.sh"]# COPY --chown=user ./requirements.txt requirements.txt# RUN pip install --no-cache-dir --upgrade -r requirements.txt
Dockerfile+8-8