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 4e3f6b8 commit e77a6d1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions serving/gradio/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ ROOT_NAME=${ROOT_NAME}

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

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

RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
Expand All @@ -23,7 +23,7 @@ COPY ./serving/gradio /usr/serving/${ROOT_NAME}

WORKDIR /usr/serving/${ROOT_NAME}

RUN pip install -r requirements.txt
RUN pip install --no-cache-dir -r requirements.txt

EXPOSE ${EXPOSE_CONTAINER_PORT}

Expand Down
4 changes: 2 additions & 2 deletions serving/streamlit_app/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ENV PYTHONUNBUFFERED=1 \

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

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

RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
Expand All @@ -27,7 +27,7 @@ WORKDIR /usr/serving/${ROOT_NAME}

# Copy requirements.txt and install dependencies

RUN pip install -r requirements.txt
RUN pip install --no-cache-dir -r requirements.txt

# Copy the rest of the application code
COPY . .
Expand Down

0 comments on commit e77a6d1

Please sign in to comment.