Skip to content

Commit

Permalink
Don't install python-dev cause it no longer exists (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
ed1d1a8d committed Jun 20, 2023
1 parent 3633845 commit 4faadea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ FROM base AS pipenv

# Install pipenv and compilation dependencies
RUN pip3 install --user --no-cache-dir pipenv
RUN apt-get update && apt-get install -y --no-install-recommends gcc python-dev git && rm -rf /var/lib/apt/lists/*
RUN apt-get update && apt-get install -y --no-install-recommends gcc git && rm -rf /var/lib/apt/lists/*

# Tell pipenv to create venv in the current directory
ENV PIPENV_VENV_IN_PROJECT=1
Expand All @@ -30,8 +30,8 @@ RUN python -m venv /opt/venv
ENV PATH="/opt/venv/bin:$PATH"
COPY go_attack_utils ./../go_attack_utils
COPY streamlit_app/requirements.txt .
RUN pip3 install -r requirements.txt
RUN pip3 install tensorflow
RUN pip3 install --upgrade pip
RUN pip3 install -r requirements.txt tensorflow --use-pep517


FROM base AS streamlit-app
Expand Down

0 comments on commit 4faadea

Please sign in to comment.