Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove python-dev #89

Merged
merged 1 commit into from
Jun 20, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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