Skip to content

Commit 8fd658c

Browse files
Stop using entrypoint file in build and install Bundler.
1 parent 17ba8f8 commit 8fd658c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ RUN apk --update add \
99
su-exec \
1010
tini && \
1111
gem update --system && \
12-
gem update bundler && \
12+
gem install bundler:1.17.2 && \
1313
rm -rf /var/cache/apk/*
1414

1515
# Create gemstash user
@@ -27,6 +27,6 @@ RUN bundle install --jobs 4 --retry 3
2727
VOLUME "${GEMSTASH_HOME}/data"
2828

2929
EXPOSE 9292
30-
COPY entrypoint.sh /
31-
ENTRYPOINT ["/entrypoint.sh"]
32-
CMD ["bundle", "exec", "gemstash", "start", "--no-daemonize"]
30+
USER ${GEMSTASH_USER}:${GEMSTASH_USER}
31+
ENTRYPOINT ["tini", "--"]
32+
CMD ["bundle", "exec", "gemstash", "start", "--no-daemonize", "--config-file=config.yml.erb"]

0 commit comments

Comments
 (0)