Skip to content

Commit 4faadea

Browse files
authored
Don't install python-dev cause it no longer exists (#89)
1 parent 3633845 commit 4faadea

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ FROM base AS pipenv
1313

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

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

3636

3737
FROM base AS streamlit-app

0 commit comments

Comments
 (0)