Skip to content

Commit

Permalink
Add Alpine Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
nusantara-self committed Feb 27, 2025
1 parent 9545ca9 commit 5461410
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions analyzers/Yara/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
FROM python:3-alpine
WORKDIR /worker

# Install build dependencies for compiling native extensions
RUN apk add --no-cache \
gcc \
musl-dev \
libffi-dev

COPY requirements.txt Yara/
RUN test ! -e Yara/requirements.txt || pip install --no-cache-dir -r Yara/requirements.txt
COPY . Yara/

ENTRYPOINT ["python", "Yara/yara_analyzer.py"]

0 comments on commit 5461410

Please sign in to comment.