diff --git a/.devcontainer/docker-compose.yml b/.devcontainer/docker-compose.yml index 3b0907c5..b0a1e6d6 100644 --- a/.devcontainer/docker-compose.yml +++ b/.devcontainer/docker-compose.yml @@ -19,7 +19,7 @@ services: image: redis:alpine frappe: - build: . + image: frappe/bench:latest command: sleep infinity volumes: - ..:/workspace:cached diff --git a/build/bench/Dockerfile b/build/bench/Dockerfile index 5b2a67eb..03ad4bad 100644 --- a/build/bench/Dockerfile +++ b/build/bench/Dockerfile @@ -113,4 +113,4 @@ RUN bash -c "node --version" \ && bash -c "npm --version" \ && bash -c "yarn --version" -EXPOSE 8000 9000 6787 +EXPOSE 8000-8005 9000-9005 6787 diff --git a/development/README.md b/development/README.md index 24bac719..030bfe35 100644 --- a/development/README.md +++ b/development/README.md @@ -244,13 +244,6 @@ EXIT; In case you don't use VSCode, you may start the containers manually with the following command: -### Building the containers -```shell -cd .devcontainer -docker-compose build -cd .. -``` - ### Running the containers ```shell docker-compose -f .devcontainer/docker-compose.yml up -d