mirror of
https://github.com/aljazceru/cyphernode.git
synced 2025-12-18 21:25:06 +01:00
24 lines
469 B
Docker
24 lines
469 B
Docker
FROM nginx:1.18.0-alpine
|
|
|
|
RUN apk add --update --no-cache \
|
|
bash \
|
|
git \
|
|
openssl \
|
|
fcgiwrap \
|
|
spawn-fcgi \
|
|
curl \
|
|
jq \
|
|
coreutils
|
|
|
|
COPY auth.sh /etc/nginx/conf.d/
|
|
COPY default.conf /etc/nginx/conf.d/default.conf
|
|
COPY entrypoint.sh entrypoint.sh
|
|
COPY trace.sh /etc/nginx/conf.d/
|
|
|
|
RUN chmod +x /etc/nginx/conf.d/auth.sh entrypoint.sh
|
|
|
|
RUN touch /var/log/gatekeeper.log
|
|
RUN chmod a+rw /var/log/gatekeeper.log
|
|
|
|
ENTRYPOINT ["./entrypoint.sh"]
|