diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 819bb50..542d293 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -47,7 +47,7 @@ RUN git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v${ASDF_VERSI echo '\nsource $HOME/.asdf/asdf.sh' >> ~/.zshrc WORKDIR /workspace/ -RUN mkdir _build deps .elixir_ls +RUN mkdir -p _build deps .elixir_ls priv/plts # Install all the tools specified in the tool versions file. COPY .tool-versions /workspace/ diff --git a/.devcontainer/docker-compose.yml b/.devcontainer/docker-compose.yml index 33483a8..ec1324d 100644 --- a/.devcontainer/docker-compose.yml +++ b/.devcontainer/docker-compose.yml @@ -10,6 +10,7 @@ volumes: app-elixir-ls: {} app-asdf: {} app-storage: {} + app-plts: {} services: app: @@ -40,6 +41,7 @@ services: - "app-build:/workspace/_build:rw" - "app-elixir-ls:/workspace/.elixir_ls:rw" - "app-storage:/storage:rw" + - "app-plts:/workspace/priv/plts:rw" # Runs app on the same network as the database container, allows "forwardPorts" in devcontainer.json function. network_mode: service:db