FROM python:3.12-slim@sha256:57cd7c3a7a273101a6485ba99423ee568157882804b1124b4dd04266317710de
RUN useradd --system --uid 10001 app
WORKDIR /site
COPY --chown=app:app frontend/index.html /site/index.html
USER 10001
EXPOSE 18080
CMD ["python", "-m", "http.server", "18080", "--directory", "/site"]
