-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
32 lines (21 loc) · 1022 Bytes
/
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
########################################################################
## Ground Control
########################################################################
FROM ghcr.io/malyn/groundcontrol AS groundcontrol
########################################################################
## Tailscale
########################################################################
FROM tailscale/tailscale:v1.38.1 AS tailscale
########################################################################
## Final Image
########################################################################
FROM openresty/openresty:1.21.4.1-6-alpine-apk
# Copy binaries, scripts, and config.
WORKDIR /app
COPY --from=groundcontrol /groundcontrol ./
COPY --from=tailscale /usr/local/bin/tailscaled ./
COPY --from=tailscale /usr/local/bin/tailscale ./
COPY groundcontrol.toml ./
COPY nginx.conf /etc/nginx/conf.d/default.conf
# Run Ground Control to monitor all of the processes.
ENTRYPOINT ["/app/groundcontrol", "/app/groundcontrol.toml"]