forked from Williangalvani/BlueOS-extension-network-scanner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
36 lines (33 loc) · 1.05 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
from python:3.11-slim-bullseye
RUN apt update && apt install -y nmap && apt clean && rm -rf /var/lib/apt/lists/*
COPY app/setup.py /app/setup.py
RUN echo "[global]" > /etc/pip.conf
RUN echo "extra-index-url=https://www.piwheels.org/simple" >> /etc/pip.conf
RUN cd app && pip install .
COPY app /app
LABEL version="1.0.0"
LABEL permissions='\
{\
"HostConfig": {\
"NetworkMode": "host",\
}\
}'
LABEL authors='[\
{\
"name": "Willian Galvani",\
"email": "willian@bluerobotics.com"\
}\
]'
LABEL company='{\
"about": "",\
"name": "Blue Robotics",\
"email": "support@bluerobotics.com"\
}'
LABEL type="tool"
LABEL readme='https://raw.githubusercontent.com/Williangalvani/BlueOS-extension-network-scanner/{tag}/example4-vue-backend/Readme.md'
LABEL links='{\
"website": "https://github.com/Williangalvani/BlueOS-extension-network-scanner/",\
"support": "https://github.com/Williangalvani/BlueOS-extension-network-scanner/"\
}'
LABEL requirements="core >= 1.1"
ENTRYPOINT cd /app && python main.py