Skip to content

Commit

Permalink
fix: resolve errors
Browse files Browse the repository at this point in the history
  • Loading branch information
tph-kds committed Oct 20, 2024
1 parent f827b18 commit 975cd32
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
3 changes: 2 additions & 1 deletion serving/gradio/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,14 @@ ROOT_NAME=${ROOT_NAME}

RUN mkdir -p /usr/serving/${ROOT_NAME}

COPY requirements.txt ./

RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
git \
&& rm -rf /var/lib/apt/lists/*

COPY ./serving/gradio /usr/serving/${ROOT_NAME}
COPY requirements.txt ./


WORKDIR /usr/serving/${ROOT_NAME}
Expand Down
14 changes: 6 additions & 8 deletions serving/streamlit_app/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,14 @@ ENV PYTHONUNBUFFERED=1 \

RUN mkdir -p /usr/serving/${ROOT_NAME}

RUN RUN apt-get update && apt-get install -y \
build-essential \
libpq-dev \
libjpeg-dev \
libssl-dev \
git \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt ./

RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
git \
&& rm -rf /var/lib/apt/lists/*

COPY ./serving/streamlit_app /usr/serving/${ROOT_NAME}
COPY requirements.txt ./

WORKDIR /usr/serving/${ROOT_NAME}

Expand Down

0 comments on commit 975cd32

Please sign in to comment.