Skip to content

Commit 97da057

Browse files
fix dockerfile to add yarn and compile js assets
1 parent 735c1e8 commit 97da057

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,14 @@ COPY lib lib
8484

8585
COPY assets assets
8686

87+
# Install yarn
88+
RUN npm install -g yarn
89+
90+
# Verify installation
91+
RUN yarn --version
8792

8893
# compile assets
94+
RUN cd assets && yarn && yarn build
8995
RUN mix assets.deploy
9096

9197
# Compile the release

0 commit comments

Comments
 (0)