Skip to content

Commit

Permalink
fixup! chore: build docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
vanppo committed Oct 18, 2024
1 parent 68c789e commit 9008544
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ COPY lib/ /app/lib/
COPY priv/ /app/priv/

RUN mix sentry.package_source_code
RUN mix release resource_kit
RUN mix release resource_kit_cli

FROM ${BASE_RUNNER}

ENV LANG C.UTF-8
ENV LANG=C.UTF-8

ENV MIX_ENV=prod

Expand All @@ -41,10 +41,10 @@ WORKDIR /app
ARG APP_VERSION
ARG APP_REVISION

ENV APP_NAME=resource_kit
ENV APP_NAME=resource_kit_cli
ENV APP_VERSION=${APP_VERSION}
ENV APP_REVISION=${APP_REVISION}

COPY --from=builder /app/_build/${MIX_ENV}/rel/${APP_NAME} .

CMD /app/bin/${APP_NAME} start
CMD ["/app/bin/${APP_NAME}", "start"]

0 comments on commit 9008544

Please sign in to comment.