mirror of
https://github.com/team-alembic/ash_authentication_phoenix.git
synced 2024-09-08 05:21:01 +12:00
chore(devcontainer): store Dialyzer PLTs in a volume.
This commit is contained in:
parent
5903c5d8f4
commit
03488839fc
2 changed files with 3 additions and 1 deletions
|
@ -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/
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue