-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Loïc Knuchel
committed
Nov 18, 2023
1 parent
c469553
commit 691bb93
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,6 +41,10 @@ RUN curl -fsSL https://deb.nodesource.com/setup_19.x | bash - && apt-get install | |
RUN npm install -g [email protected] | ||
RUN wget -O - 'https://github.com/elm/compiler/releases/download/0.19.1/binary-for-linux-64-bit.gz' | gunzip -c >/usr/local/bin/elm | ||
|
||
ARG GIT_COMMIT_HASH=unknown | ||
RUN GIT_COMMIT_HASH=$(git log -1 --pretty=format:%h) | ||
ENV GIT_COMMIT_HASH ${GIT_COMMIT_HASH} | ||
|
||
# make the elm compiler executable | ||
RUN chmod +x /usr/local/bin/elm | ||
|
||
|
@@ -120,10 +124,6 @@ ENV DATABASE_URL=${DATABASE_URL} | |
ENV MIX_ENV="prod" | ||
ENV PHX_SERVER="true" | ||
|
||
ARG GIT_COMMIT_HASH=unknown | ||
RUN GIT_COMMIT_HASH=$(git log -1 --pretty=format:%h) | ||
ENV GIT_COMMIT_HASH ${GIT_COMMIT_HASH} | ||
|
||
WORKDIR "/app" | ||
RUN chown nobody /app | ||
|
||
|