Skip to content

Commit

Permalink
Merge pull request #1150 from max-rocket-internet/docker_pip_fix
Browse files Browse the repository at this point in the history
Docker: add home directory for locust user to install pip packages
  • Loading branch information
heyman authored Nov 15, 2019
2 parents 1f3fa12 + 85901fa commit fcb040c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RUN pip install .

FROM python:3.6-alpine

RUN apk --no-cache add zeromq && adduser -h / -s /bin/false -H -D locust
RUN apk --no-cache add zeromq && adduser -s /bin/false -D locust
COPY --from=builder /usr/local/lib/python3.6/site-packages /usr/local/lib/python3.6/site-packages
COPY --from=builder /usr/local/bin/locust /usr/local/bin/locust
COPY docker_start.sh docker_start.sh
Expand Down

0 comments on commit fcb040c

Please sign in to comment.