Skip to content

Commit

Permalink
fix: Dockerfile to reduce vulnerabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
snyk-bot committed Sep 7, 2024
1 parent 1dc4a6e commit 7338f92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# syntax=docker/dockerfile:1

FROM python:3.13.0a5-alpine AS builder
FROM python:3.13.0rc1-alpine AS builder
RUN apt-get update & apt-get upgrade
WORKDIR /app
RUN git clone https://github.com/threatcode/GitHacker.git
RUN cd GitHacker && pip install -r requirements.txt && python setup.py sdist bdist_wheel

FROM python:3.13.0a5-alpine
FROM python:3.13.0rc1-alpine
COPY --from=builder /app/GitHacker/dist/ /app/
RUN pip install /app/*.whl
ENV GIT_PYTHON_REFRESH=quiet
Expand Down

0 comments on commit 7338f92

Please sign in to comment.