Make sure app is compiled before building assets
This is necessary because of colocated hooks
This commit is contained in:
+2
-5
@@ -67,11 +67,8 @@ COPY assets assets
|
|||||||
|
|
||||||
RUN cd assets && npm install && cd ..
|
RUN cd assets && npm install && cd ..
|
||||||
|
|
||||||
# compile assets
|
# Compile the release and assets
|
||||||
RUN mix assets.deploy
|
RUN mix do compile, assets.deploy
|
||||||
|
|
||||||
# Compile the release
|
|
||||||
RUN mix compile
|
|
||||||
|
|
||||||
# Changes to config/runtime.exs don't require recompiling the code
|
# Changes to config/runtime.exs don't require recompiling the code
|
||||||
COPY config/runtime.exs config/
|
COPY config/runtime.exs config/
|
||||||
|
|||||||
Reference in New Issue
Block a user