Browse Source

add WORKDIR in Dockerfile. Remove Image in compose

pull/672/head
Roman Hofer 9 months ago
parent
commit
e45b52b1cf
2 changed files with 1 additions and 1 deletions
  1. +1
    -0
      Dockerfile
  2. +0
    -1
      docker-compose.yml

+ 1
- 0
Dockerfile View File

@ -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"]

+ 0
- 1
docker-compose.yml View File

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

Loading…
Cancel
Save