add WORKDIR in Dockerfile. Remove Image in compose

pull/672/head
Roman Hofer 4 years ago
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…
Cancel
Save