Skip to content

Commit

Permalink
fix(BUX-449): docker image cannot be run
Browse files Browse the repository at this point in the history
  • Loading branch information
dorzepowski committed Jan 11, 2024
1 parent 2712984 commit ad8667d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions release/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
FROM --platform=$TARGETPLATFORM registry.access.redhat.com/ubi9-minimal

# Set working directory
WORKDIR /app

ARG project_name
ARG TARGETPLATFORM
COPY ./dist/$TARGETPLATFORM .

ARG version
ARG tag
ENV APP_BINARY=${project_name}
ENV VERSION=${version:-develop}
ENV TAG=${tag:-master}
COPY ./dist/$TARGETPLATFORM/$APP_BINARY .

# Set entrypoint
ENTRYPOINT ["./$APP_BINARY"]

0 comments on commit ad8667d

Please sign in to comment.