2026-09-02 17:38:50 +02:00
|
|
|
FROM python:3.13-alpine
|
|
|
|
|
RUN addgroup -S app && adduser -S -G app app
|
|
|
|
|
WORKDIR /srv
|
|
|
|
|
COPY index.html /srv/index.html
|
|
|
|
|
COPY styles.css /srv/styles.css
|
2026-09-03 12:38:27 +02:00
|
|
|
COPY config.js /srv/config.js
|
|
|
|
|
COPY asset-manifest.json /srv/asset-manifest.json
|
2026-09-02 17:38:50 +02:00
|
|
|
COPY app.js /srv/app.js
|
|
|
|
|
COPY healthz /srv/healthz
|
2026-09-03 12:38:27 +02:00
|
|
|
COPY health.html /srv/health.html
|
|
|
|
|
COPY error.html /srv/error.html
|
2026-09-02 17:38:50 +02:00
|
|
|
RUN chown -R app:app /srv
|
|
|
|
|
USER app
|
|
|
|
|
EXPOSE 8080
|
|
|
|
|
CMD ["python", "-m", "http.server", "8080", "--bind", "0.0.0.0", "--directory", "/srv"]
|