Fix models and db path
Signed-off-by: James Ketrenos <james_git@ketrenos.com>
This commit is contained in:
parent
bb8b4e2eb4
commit
1dfa4676c8
@ -42,12 +42,12 @@ COPY /package*json /website/
|
||||
WORKDIR /website
|
||||
RUN npm upgrade && npm install
|
||||
|
||||
COPY /config/default.json /website/config/default.json
|
||||
COPY /*js /website/
|
||||
COPY /src /website/src
|
||||
COPY /scanner /website/scanner
|
||||
COPY /server /website/server
|
||||
COPY /frontend /website/frontend
|
||||
COPY /db /website/db
|
||||
COPY /config/default.json /website/config/default.json
|
||||
COPY /ketrface /website/ketrface
|
||||
|
||||
CMD [ "/entrypoint.sh" ]
|
||||
|
@ -14,7 +14,7 @@ services:
|
||||
- ${PORT}:${TARGET_PORT:-8123}
|
||||
volumes:
|
||||
- ${PICTURES}:/pictures
|
||||
- ${PWD}/db:/db
|
||||
- ${PWD}/db:/website/db
|
||||
- ${PWD}/config/local.json:/website/config/local.json
|
||||
- /opt/ketrface/models:/root/.deepface
|
||||
# - ${PWD}:/website
|
||||
- ${PWD}/models:/root/.deepface
|
||||
|
Loading…
x
Reference in New Issue
Block a user