FROM nginx:1.27-alpine

RUN rm -rf /usr/share/nginx/html/*

# Static files
COPY index.html /usr/share/nginx/html/index.html
COPY favicon.svg /usr/share/nginx/html/favicon.svg
COPY dvirlabs-logo-2.png /usr/share/nginx/html/dvirlabs-logo.png

# Entrypoint that injects LAB_LINKS into __LAB_LINKS__
COPY docker-entrypoint.sh /docker-entrypoint.sh
RUN chmod +x /docker-entrypoint.sh

CMD ["/docker-entrypoint.sh"]
