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
|
WORKDIR /website
|
||||||
RUN npm upgrade && npm install
|
RUN npm upgrade && npm install
|
||||||
|
|
||||||
|
COPY /config/default.json /website/config/default.json
|
||||||
COPY /*js /website/
|
COPY /*js /website/
|
||||||
COPY /src /website/src
|
COPY /src /website/src
|
||||||
COPY /scanner /website/scanner
|
COPY /scanner /website/scanner
|
||||||
COPY /server /website/server
|
COPY /server /website/server
|
||||||
COPY /frontend /website/frontend
|
COPY /frontend /website/frontend
|
||||||
COPY /db /website/db
|
COPY /ketrface /website/ketrface
|
||||||
COPY /config/default.json /website/config/default.json
|
|
||||||
|
|
||||||
CMD [ "/entrypoint.sh" ]
|
CMD [ "/entrypoint.sh" ]
|
||||||
|
@ -14,7 +14,7 @@ services:
|
|||||||
- ${PORT}:${TARGET_PORT:-8123}
|
- ${PORT}:${TARGET_PORT:-8123}
|
||||||
volumes:
|
volumes:
|
||||||
- ${PICTURES}:/pictures
|
- ${PICTURES}:/pictures
|
||||||
- ${PWD}/db:/db
|
- ${PWD}/db:/website/db
|
||||||
- ${PWD}/config/local.json:/website/config/local.json
|
- ${PWD}/config/local.json:/website/config/local.json
|
||||||
|
- /opt/ketrface/models:/root/.deepface
|
||||||
# - ${PWD}:/website
|
# - ${PWD}:/website
|
||||||
- ${PWD}/models:/root/.deepface
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user