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-03 16:40:18 +02:00
|
|
|
COPY server.py /srv/server.py
|
2026-09-02 17:38:50 +02:00
|
|
|
RUN chown -R app:app /srv
|
|
|
|
|
USER app
|
|
|
|
|
EXPOSE 8080
|
2026-09-03 16:40:18 +02:00
|
|
|
CMD ["python", "/srv/server.py"]
|