Files
vod-system/nginx/Dockerfile
Dylan De Faoite b6638bfd49
All checks were successful
CI / Maven unit tests (push) Successful in 18s
CI / Build and push images (push) Has been skipped
CI / Deploy to server (push) Has been skipped
fix broken dockerfile
Image is broken because of outdated packages.

Also needs to be mandated to use UTC time, otherwise .ts files are out of sync with the backend.
2026-09-15 21:14:35 +01:00

16 lines
517 B
Docker

FROM tiangolo/nginx-rtmp:latest-2026-09-07
ENV TZ=UTC
RUN apt-get update -o Acquire::Check-Valid-Until=false && \
apt-get install -y --no-install-recommends gettext-base && \
ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && \
echo $TZ > /etc/timezone && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
COPY default.conf.template /etc/nginx/templates/default.conf.template
COPY docker-entrypoint.sh /docker-entrypoint.sh
RUN chmod +x /docker-entrypoint.sh
ENTRYPOINT ["/docker-entrypoint.sh"]