FROM nginx:1.27.1-alpine LABEL org.opencontainers.image.title="TagSpaces Web" LABEL org.opencontainers.image.description="Official Docker Image for TagSpaces" LABEL org.opencontainers.image.url="https://www.tagspaces.org" LABEL org.opencontainers.image.source="https://github.com/tagspaces/tagspaces" LABEL org.opencontainers.image.documentation="https://docs.tagspaces.org" LABEL org.opencontainers.image.authors="contact@tagspaces.org" LABEL org.opencontainers.image.vendor="TagSpaces Authors " LABEL org.opencontainers.image.version="6.6.3" RUN echo "types { application/javascript js mjs; }" > /etc/nginx/conf.d/types.conf ADD https://github.com/tagspaces/tagspaces/releases/download/v6.6.3/tagspaces-web-6.6.3.zip . RUN mv tagspaces-web-* tagspaces-web.zip RUN unzip tagspaces-web.zip RUN mv web/extconfig.tmpl.js web/extconfig.js RUN rm -rf /usr/share/nginx/html RUN mv web /usr/share/nginx/html RUN rm -rf tagspaces-web.zip EXPOSE 80