Fix release build - remove streamlit installation in Dockerfile (#867)

This commit is contained in:
Shuchang Zheng
2024-09-20 13:07:30 -07:00
committed by GitHub
parent 0beb929cf3
commit aea2e8dd4b

View File

@@ -10,7 +10,6 @@ FROM python:3.11-slim-bookworm
WORKDIR /app
COPY --from=requirements-stage /tmp/requirements.txt /app/requirements.txt
RUN pip install --no-cache-dir --upgrade -r requirements.txt
RUN pip install --no-cache-dir streamlit
RUN playwright install-deps
RUN playwright install
RUN apt-get install -y xauth x11-apps netpbm && apt-get clean
@@ -25,7 +24,4 @@ ENV ARTIFACT_STORAGE_PATH=/data/artifacts
COPY ./entrypoint-skyvern.sh /app/entrypoint-skyvern.sh
RUN chmod +x /app/entrypoint-skyvern.sh
COPY ./entrypoint-streamlit.sh /app/entrypoint-streamlit.sh
RUN chmod +x /app/entrypoint-streamlit.sh
CMD [ "/bin/bash", "/app/entrypoint-skyvern.sh" ]