File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change
1
+ FROM jc21/nginx-proxy-manager-base:armv6
2
+
3
+ MAINTAINER Jamie Curnow <
[email protected] >
4
+ LABEL maintainer="Jamie Curnow <
[email protected] >"
5
+
6
+ ENV SUPPRESS_NO_CONFIG_WARNING=1
7
+ ENV S6_FIX_ATTRS_HIDDEN=1
8
+ RUN echo "fs.file-max = 65535" > /etc/sysctl.conf
9
+
10
+ # Nginx, Node and required packages should already be installed from the base image
11
+
12
+ # root filesystem
13
+ COPY rootfs /
14
+
15
+ # s6 overlay
16
+ RUN curl -L -o /tmp/s6-overlay-arm.tar.gz "https://github.com/just-containers/s6-overlay/releases/download/v1.21.8.0/s6-overlay-arm.tar.gz" \
17
+ && tar xzf /tmp/s6-overlay-arm.tar.gz -C /
18
+
19
+ # App
20
+ ENV NODE_ENV=production
21
+
22
+ ADD dist /app/dist
23
+ ADD node_modules /app/node_modules
24
+ ADD src/backend /app/src/backend
25
+ ADD package.json /app/package.json
26
+ ADD knexfile.js /app/knexfile.js
27
+
28
+ # Volumes
29
+ VOLUME [ "/data", "/etc/letsencrypt" ]
30
+ CMD [ "/init" ]
31
+
32
+ # Ports
33
+ EXPOSE 80
34
+ EXPOSE 81
35
+ EXPOSE 443
36
+ EXPOSE 9876
37
+
38
+ HEALTHCHECK --interval=15s --timeout=3s CMD curl -f http://localhost:9876/health || exit 1
You can’t perform that action at this time.
0 commit comments