mirror of
https://github.com/aljazceru/cyphernode.git
synced 2026-02-02 03:04:19 +01:00
25 lines
570 B
Docker
25 lines
570 B
Docker
# Does not work on ARM / Raspberry Pi
|
|
|
|
FROM cyphernode/nginx:1.14.1-alpine
|
|
|
|
RUN apk add --update --no-cache \
|
|
git \
|
|
openssl \
|
|
fcgiwrap \
|
|
spawn-fcgi \
|
|
curl \
|
|
jq
|
|
|
|
COPY auth.sh /etc/nginx/conf.d
|
|
COPY default-ssl.conf /etc/nginx/conf.d/default.conf
|
|
COPY entrypoint.sh entrypoint.sh
|
|
COPY keys.properties /etc/nginx/conf.d
|
|
COPY api.properties /etc/nginx/conf.d
|
|
COPY trace.sh /etc/nginx/conf.d
|
|
COPY tests.sh /etc/nginx/conf.d
|
|
COPY ip-whitelist.conf /etc/nginx/conf.d
|
|
|
|
RUN chmod +x /etc/nginx/conf.d/auth.sh entrypoint.sh
|
|
|
|
ENTRYPOINT ["./entrypoint.sh"]
|