Files
MarketingTool/apps/web/Dockerfile
T

16 lines
477 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 config.js /srv/config.js
COPY asset-manifest.json /srv/asset-manifest.json
COPY app.js /srv/app.js
COPY healthz /srv/healthz
COPY health.html /srv/health.html
COPY error.html /srv/error.html
RUN chown -R app:app /srv
USER app
EXPOSE 8080
CMD ["python", "-m", "http.server", "8080", "--bind", "0.0.0.0", "--directory", "/srv"]