Spaces:
Running
Running
services: | |
development-server: | |
environment: | |
- HOST=${HOST:-0.0.0.0} | |
- PORT=${PORT:-7860} | |
- BASIC_SSL=${BASIC_SSL:-false} | |
- HMR_PORT=${HMR_PORT:-7861} | |
ports: | |
- "${PORT:-7860}:7860" | |
- "${HMR_PORT:-7861}:7861" | |
build: | |
dockerfile: Dockerfile | |
context: . | |
volumes: | |
- .:/home/user/app/ | |
command: | |
[ | |
"(/usr/local/searxng/dockerfiles/docker-entrypoint.sh -f > /dev/null 2>&1) & (npm install && npm run dev)", | |
] | |