-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
48 lines (42 loc) · 1.02 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
43
44
45
46
47
48
FROM alpine:3.18.3
RUN apk update && apk add nginx
# Move our nginx configuration to the standard nginx path
COPY files/nginx.conf /etc/nginx/nginx.conf
# Add our static files to a common folder to be provided by nginx
RUN mkdir -p /site
COPY files/register_service /site/register_service
COPY site/ /site/
# Copy everything for your application
COPY files/entrypoint.sh /entrypoint.sh
# Add docker configuration
LABEL permissions='{\
"ExposedPorts": {\
"80/tcp": {}\
},\
"HostConfig": {\
"PortBindings": {\
"80/tcp": [\
{\
"HostPort": ""\
}\
]\
}\
}\
}'
LABEL authors='[\
{\
"name": "John Doe",\
"email": "[email protected]"\
}\
]'
LABEL company='{\
"about": "This is just an example",\
"name": "ACME Corporation",\
"email": "[email protected]"\
}'
LABEL readme="https://raw.githubusercontent.com/patrickelectric/blueos-extension-template/master/README.md"
LABEL type="example"
LABEL tags='[\
"example"\
]'
ENTRYPOINT ["/entrypoint.sh"]