Skip to content

Commit 77cb384

Browse files
committed
Fix correct elm compiler on PATH
1 parent d513d10 commit 77cb384

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

elmer-json-compiler/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ RUN curl https://s3.amazonaws.com/rebar3/rebar3 > /bin/rebar3
77
RUN chmod 755 /bin/rebar3
88

99
RUN git clone --depth 1 https://github.com/elmer-compiler/elm-platform.git
10-
RUN cd elm-platform/installers && runhaskell BuildFromSource.hs master
10+
RUN cabal update
11+
RUN cd /elm-platform/installers && runhaskell BuildFromSource.hs master
1112

12-
ENV PATH $PWD/elm-platform/installers/master/.cabal-sandbox/bin:$PATH
13+
ENV PATH /elm-platform/installers/Elm-Platform/master/.cabal-sandbox/bin:$PATH

0 commit comments

Comments
 (0)