Skip to content

Commit 04a56ff

Browse files
committed
Fix Dockerfile.
1 parent fb9214f commit 04a56ff

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ruby:alpine
1+
FROM ruby:3.4-alpine
22
LABEL maintainer="[email protected]"
33
LABEL description="Command-line tool to query IMAP servers, collect stats etc."
44

@@ -7,11 +7,12 @@ ADD . /imapcli
77
RUN apk add --no-cache git build-base && \
88
gem update --system && \
99
cd imapcli && \
10-
# bundle config set --local without development test && \
10+
bundle config set --local without development test && \
11+
bundle config set --local deployment true && \
1112
bundle install && \
1213
apk del build-base && \
1314
rm -rf /var/cache/apk/*
1415

1516
WORKDIR /imapcli
16-
ENTRYPOINT ["exe/imapcli"]
17+
ENTRYPOINT ["bundle", "exec", "exe/imapcli"]
1718

0 commit comments

Comments
 (0)