Files
vote/seed-data/Dockerfile
Scaffolder 3f7396407b
Some checks failed
CI Pipeline / Build and Test (push) Has been cancelled
Build and Publish TechDocs / build-and-publish (push) Has been cancelled
initial commit
Change-Id: Ia748646eaf5c18f44eb5b147ff577d0d5ee844e8
2026-03-23 17:40:04 +00:00

17 lines
312 B
Docker

FROM python:3.9-slim
# add apache bench (ab) tool
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
apache2-utils \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /seed
COPY . .
# create POST data files with ab friendly formats
RUN python make-data.py
CMD ["/seed/generate-votes.sh"]