Skip to content

Commit e82863b

Browse files
Cache playwright browsers outside root home to allow container to run as non-root (#1429)
Co-authored-by: Austin Parker <[email protected]>
1 parent c076a66 commit e82863b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/loadgenerator/Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,6 @@ COPY --from=builder /reqs /usr/local
1818
COPY ./src/loadgenerator/locustfile.py .
1919
COPY ./src/loadgenerator/people.json .
2020
ENV LOCUST_PLAYWRIGHT=1
21+
ENV PLAYWRIGHT_BROWSERS_PATH=/opt/pw-browsers
2122
RUN playwright install --with-deps chromium
2223
ENTRYPOINT locust

0 commit comments

Comments
 (0)