File size: 340 Bytes
489b6e2
 
 
 
 
 
 
1
2
3
4
5
6
7
8
FROM python:3.12-slim
WORKDIR /srv/reference
COPY . .
ENV HOST=0.0.0.0 PORT=8080 DATA_DIR=/tmp/websitebench-lowes-reference-data SEED=0 TZ=UTC
RUN ./compile.sh
HEALTHCHECK --interval=2s --timeout=3s --retries=30 CMD python3 -c "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8080/healthz', timeout=2)"
CMD ["./executable"]