Skip to content

Commit

Permalink
Merge pull request #76 from doxa-tech/updates-deploy-container
Browse files Browse the repository at this point in the history
Uses fixed passenger version
  • Loading branch information
nkcr authored May 15, 2022
2 parents 2083485 + fb626a7 commit 170ddcb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .deploy/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# https://github.com/phusion/passenger-docker
# Phusion Passenger with Nginx, support for Ruby/NodeJS
FROM phusion/passenger-customizable:latest
FROM phusion/passenger-customizable:2.3.0

ENV BUNDLE_WITHOUT=development:test
ENV BUNDLE_DEPLOYMENT=true
Expand Down Expand Up @@ -32,8 +32,8 @@ RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
ENV TZ=Europe/Zurich
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

# Ruby 2.7.4
RUN bash -lc 'rvm --default use ruby-2.7.5'
# Ruby 2.7.6
RUN bash -lc 'rvm --default use ruby-2.7.6'

# Activate Nginx (and disable the systemd service)
RUN rm -f /etc/service/nginx/down
Expand Down

0 comments on commit 170ddcb

Please sign in to comment.