Skip to content

Commit

Permalink
chore: docker, copy binary from dist
Browse files Browse the repository at this point in the history
  • Loading branch information
eneskaya committed Apr 3, 2023
1 parent ab39252 commit d58607a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ RUN echo "Running on $BUILDPLATFORM, building for $TARGETPLATFORM" > /log
ENV SEGMENT_WRITE_KEY $SEGMENT_WRITE_KEY
ENV VERSION $VERSION

RUN apk update && apk add curl
RUN curl -L https://cli.komiser.io/$VERSION/komiser_Linux_x86_64 -o /usr/bin/komiser && \
chmod +x /usr/bin/komiser && \
COPY komiser /usr/bin/komiser
RUN chmod +x /usr/bin/komiser && \
mkdir /lib64 && ln -s /lib/libc.musl-x86_64.so.1 /lib64/ld-linux-x86-64.so.2

EXPOSE $PORT
Expand Down

0 comments on commit d58607a

Please sign in to comment.