Set port in puma config
This commit is contained in:
parent
36297176e4
commit
7e80f8e439
@ -2,6 +2,7 @@ FROM ruby:3.1
|
||||
|
||||
# Move it
|
||||
WORKDIR /opt
|
||||
COPY config/ ./config/
|
||||
COPY public/ ./public/
|
||||
COPY views/ ./views/
|
||||
COPY Gemfile .
|
||||
@ -17,4 +18,4 @@ RUN bundle install
|
||||
EXPOSE 4567
|
||||
|
||||
# Send it
|
||||
CMD ["bundle", "exec", "puma", "-p", "4567", "-e", "production"]
|
||||
CMD ["bundle", "exec", "puma", "-e", "production"]
|
||||
|
@ -7,13 +7,13 @@ GEM
|
||||
puma (5.6.2)
|
||||
nio4r (~> 2.0)
|
||||
rack (2.2.3)
|
||||
rack-protection (2.1.0)
|
||||
rack-protection (2.2.0)
|
||||
rack
|
||||
ruby2_keywords (0.0.5)
|
||||
sinatra (2.1.0)
|
||||
sinatra (2.2.0)
|
||||
mustermann (~> 1.0)
|
||||
rack (~> 2.2)
|
||||
rack-protection (= 2.1.0)
|
||||
rack-protection (= 2.2.0)
|
||||
tilt (~> 2.0)
|
||||
tilt (2.0.10)
|
||||
|
||||
|
@ -1 +1,2 @@
|
||||
threads(1, `nproc`.chomp || 5)
|
||||
threads(0, `nproc`.chomp || 5)
|
||||
port 4567
|
||||
|
Loading…
x
Reference in New Issue
Block a user