add WORKDIR in Dockerfile. Remove Image in compose
This commit is contained in:
parent
f3180b73a0
commit
e45b52b1cf
|
@ -23,5 +23,6 @@ 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"]
|
||||
|
|
|
@ -3,6 +3,5 @@ version: '2'
|
|||
services:
|
||||
sherlock:
|
||||
build: .
|
||||
image: theyahya/sherlock
|
||||
volumes:
|
||||
- "./results:/opt/sherlock/results"
|
||||
|
|
Loading…
Reference in New Issue