17 lines
820 B
Docker
17 lines
820 B
Docker
FROM nginx:1.29.5-alpine
|
|
|
|
COPY --chmod=0644 nginx.conf /etc/nginx/conf.d/default.conf
|
|
COPY --chmod=0644 index.html /usr/share/nginx/html/index.html
|
|
COPY --chmod=0644 evaluation-v1.html /usr/share/nginx/html/evaluation-v1.html
|
|
RUN install -d -m 0755 /usr/share/nginx/html/assets
|
|
COPY --chmod=0644 assets/styles.css /usr/share/nginx/html/assets/styles.css
|
|
COPY --chmod=0644 assets/app.js /usr/share/nginx/html/assets/app.js
|
|
COPY --chmod=0644 assets/research.css /usr/share/nginx/html/assets/research.css
|
|
COPY --chmod=0644 assets/evidence-data.js /usr/share/nginx/html/assets/evidence-data.js
|
|
COPY --chmod=0644 assets/research.js /usr/share/nginx/html/assets/research.js
|
|
|
|
EXPOSE 8080
|
|
|
|
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
|
|
CMD wget -q -O /dev/null http://127.0.0.1:8080/health || exit 1
|