mirror of
https://github.com/sherlock-project/sherlock
synced 2024-11-15 08:47:08 +00:00
Add newlines to Dockerfile to improve readability
This commit is contained in:
parent
3943a8b291
commit
0f62137b49
1 changed files with 5 additions and 0 deletions
|
@ -9,15 +9,20 @@ RUN pip3 wheel -r /opt/sherlock/requirements.txt
|
|||
|
||||
FROM python:3.7-slim-bullseye
|
||||
WORKDIR /opt/sherlock
|
||||
|
||||
ARG VCS_REF
|
||||
ARG VCS_URL="https://github.com/sherlock-project/sherlock"
|
||||
|
||||
LABEL org.label-schema.vcs-ref=$VCS_REF \
|
||||
org.label-schema.vcs-url=$VCS_URL
|
||||
|
||||
COPY --from=build /wheels /wheels
|
||||
COPY . /opt/sherlock/
|
||||
|
||||
RUN pip3 install -r requirements.txt -f /wheels \
|
||||
&& rm -rf /wheels \
|
||||
&& rm -rf /root/.cache/pip/*
|
||||
|
||||
WORKDIR /opt/sherlock/sherlock
|
||||
|
||||
ENTRYPOINT ["python", "sherlock.py"]
|
||||
|
|
Loading…
Reference in a new issue