-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
42 lines (38 loc) · 1.14 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
37
38
39
40
41
42
from python:3.11-slim-bullseye
# Install dependencies for building Nginx
RUN apt-get update && apt-get install -y \
nginx \
&& rm -rf /var/lib/apt/lists/*
COPY app/setup.py /app/setup.py
RUN cd app && pip install .
COPY app /app
RUN mkdir -p /usr/blueos/userdata/blueos-proxy/
LABEL version="1.0.5"
# TODO: Add a Volume for persistence across boots
LABEL permissions='\
{\
"ExposedPorts": {},\
"HostConfig": {\
"Binds":["/usr/blueos/userdata/blueos-proxy/:/usr/blueos/userdata/blueos-proxy/"],\
"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-Proxy-Extension/{tag}/Readme.md'
LABEL links='{\
"website": "https://github.com/Williangalvani/Blueos-Proxy-Extension",\
"support": "https://github.com/Williangalvani/Blueos-Proxy-Extension"\
}'
LABEL requirements="core >= 1.1"
ENTRYPOINT cd /app && python main.py