Skip to content

Commit 5a4fa32

Browse files
committed
fix: Docker image vulnerabilities
1 parent aafb805 commit 5a4fa32

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1-
FROM python:3.10.6
1+
FROM alpine:latest
22
WORKDIR /app
33
COPY requirements.txt requirements.txt
4+
RUN apk add python3-dev
5+
RUN apk add py3-pip
6+
RUN apk add gcc
7+
RUN apk add libc-dev
48
RUN pip3 install -r requirements.txt
59
COPY . .
610
CMD ["python3", "main.py", "--fingerprint", "198e9fe586114844f6a4eaca5069b41a7ed43fb5a2df84892b69826d64573e39", "--path-license", "examples/license.lic", "--path-machine", "examples/machine.lic"]

0 commit comments

Comments
 (0)