Skip to content

Commit

Permalink
try 3
Browse files Browse the repository at this point in the history
  • Loading branch information
Loïc Knuchel committed Nov 18, 2023
1 parent 691bb93 commit 7836538
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,6 @@ 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

Expand Down Expand Up @@ -123,6 +119,7 @@ ENV STRIPE_WEBHOOK_SIGNING_SECRET=${STRIPE_WEBHOOK_SIGNING_SECRET}
ENV DATABASE_URL=${DATABASE_URL}
ENV MIX_ENV="prod"
ENV PHX_SERVER="true"
ENV GIT_COMMIT_HASH ${GITHUB_SHA}

WORKDIR "/app"
RUN chown nobody /app
Expand Down

0 comments on commit 7836538

Please sign in to comment.