-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
40 lines (30 loc) · 1.07 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
FROM europe-docker.pkg.dev/flownative/docker/base:bookworm
LABEL org.opencontainers.image.authors="Robert Lemke <[email protected]>"
# -----------------------------------------------------------------------------
# Nginx
# Latest versions: https://packages.debian.org/bookworm/nginx
ENV NGINX_VERSION=1.22.1-9
ENV FLOWNATIVE_LIB_PATH=/opt/flownative/lib \
NGINX_BASE_PATH=/opt/flownative/nginx \
LOG_DEBUG=false
USER root
# Packages are needed for the following reasons:
#
# nginx-common Nginx
# nginx-extras chunkin and headers module for Nginx
# ca-certificates Up to date CA certificates for validation
# procps Process functions used for checking running status and stopping Nginx
RUN install_packages \
nginx-common=${NGINX_VERSION} \
nginx-extras=${NGINX_VERSION} \
libnginx-mod-http-headers-more-filter \
ca-certificates \
procps \
&& rm /etc/nginx/sites-available/default \
&& rm /etc/nginx/sites-enabled/default
COPY root-files /
RUN /build.sh
EXPOSE 8080
USER nginx
ENTRYPOINT ["/entrypoint.sh"]
CMD [ "run" ]