Created
May 19, 2024 01:07
-
-
Save ilya-muhortov/f61e5f1942867c37bbfb806c14552d2a to your computer and use it in GitHub Desktop.
Docker nginx include ngx_http_redis_module.so
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM soulteary/prebuilt-nginx-modules:ngx-1.21.1-redis-0.3.9 as builder | |
FROM nginx:1.21.1-perl | |
RUN rm /etc/nginx/conf.d/default.conf | |
COPY ./Dockerfiles/settings/nginx/nginx.conf /etc/nginx/nginx.conf | |
COPY ./Dockerfiles/settings/nginx/medicine.conf /etc/nginx/conf.d/medicine.conf | |
COPY ./Dockerfiles/ssl-certs/ /etc/nginx/ssl-certs/ | |
COPY ./application/ /app/application/ | |
COPY --from=builder /ngx_http_redis_module.so /ngx_http_redis_module.so | |
CMD ["nginx", "-g", "daemon off;"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment