12 lines
331 B
Docker
12 lines
331 B
Docker
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
|
||
|
|
COPY app.js /srv/app.js
|
||
|
|
COPY healthz /srv/healthz
|
||
|
|
RUN chown -R app:app /srv
|
||
|
|
USER app
|
||
|
|
EXPOSE 8080
|
||
|
|
CMD ["python", "-m", "http.server", "8080", "--bind", "0.0.0.0", "--directory", "/srv"]
|