mirror of
https://github.com/team-alembic/ash_authentication_phoenix.git
synced 2024-09-19 04:53:56 +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
|
echo '\nsource $HOME/.asdf/asdf.sh' >> ~/.zshrc
|
||||||
|
|
||||||
WORKDIR /workspace/
|
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.
|
# Install all the tools specified in the tool versions file.
|
||||||
COPY .tool-versions /workspace/
|
COPY .tool-versions /workspace/
|
||||||
|
|
|
@ -10,6 +10,7 @@ volumes:
|
||||||
app-elixir-ls: {}
|
app-elixir-ls: {}
|
||||||
app-asdf: {}
|
app-asdf: {}
|
||||||
app-storage: {}
|
app-storage: {}
|
||||||
|
app-plts: {}
|
||||||
|
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
|
@ -40,6 +41,7 @@ services:
|
||||||
- "app-build:/workspace/_build:rw"
|
- "app-build:/workspace/_build:rw"
|
||||||
- "app-elixir-ls:/workspace/.elixir_ls:rw"
|
- "app-elixir-ls:/workspace/.elixir_ls:rw"
|
||||||
- "app-storage:/storage: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.
|
# Runs app on the same network as the database container, allows "forwardPorts" in devcontainer.json function.
|
||||||
network_mode: service:db
|
network_mode: service:db
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue