fix(nginx): envs not passed into nginx

This commit is contained in:
2026-05-18 21:14:56 +01:00
parent c70cd3f939
commit 3b188a3497
2 changed files with 12 additions and 1 deletions

View File

@@ -1,5 +1,11 @@
FROM tiangolo/nginx-rtmp
COPY nginx.conf /etc/nginx/nginx.conf
RUN apt-get update && apt-get install -y gettext-base && rm -rf /var/lib/apt/lists/*
COPY nginx.conf /etc/nginx/nginx.conf.template
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
EXPOSE 1935
ENTRYPOINT ["/entrypoint.sh"]