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 \ RUN pip3 install -r requirements.txt -f /wheels \
&& rm -rf /wheels \ && rm -rf /wheels \
&& rm -rf /root/.cache/pip/* && rm -rf /root/.cache/pip/*
WORKDIR /opt/sherlock/sherlock
ENTRYPOINT ["python", "sherlock.py"] ENTRYPOINT ["python", "sherlock.py"]

@ -3,6 +3,5 @@ version: '2'
services: services:
sherlock: sherlock:
build: . build: .
image: theyahya/sherlock
volumes: volumes:
- "./results:/opt/sherlock/results" - "./results:/opt/sherlock/results"

Loading…
Cancel
Save