File tree Expand file tree Collapse file tree 22 files changed +65
-194
lines changed
private_gemserver_with_cache Expand file tree Collapse file tree 22 files changed +65
-194
lines changed Original file line number Diff line number Diff line change 11# syntax=docker/dockerfile:1
22# check=error=true
33
4- # This Dockerfile is designed for production, not development. Use with Kamal or build'n'run by hand:
5- # docker build -t demo .
6- # docker run -d -p 80:80 -e RAILS_MASTER_KEY=<value from config/master.key> --name demo demo
7-
8- # For a containerized dev environment, see Dev Containers: https://guides.rubyonrails.org/getting_started_with_devcontainer.html
9-
104# Make sure RUBY_VERSION matches the Ruby version in .ruby-version
115ARG RUBY_VERSION=xxx
126FROM ruby:$RUBY_VERSION-slim AS base
@@ -74,7 +68,7 @@ ENV DATABASE_URL="sqlite3:///data/production.sqlite3"
7468# Entrypoint prepares the database.
7569ENTRYPOINT ["/rails/bin/docker-entrypoint" ]
7670
77- # Start server via Thruster by default, this can be overwritten at runtime
78- EXPOSE 80
71+ # Start the server by default, this can be overwritten at runtime
72+ EXPOSE 3000
7973VOLUME /data
80- CMD ["./bin/thrust" , "./bin/ rails" , "server" ]
74+ CMD ["./bin/rails" , "server" ]
Original file line number Diff line number Diff line change 11# syntax=docker/dockerfile:1
22# check=error=true
33
4- # This Dockerfile is designed for production, not development. Use with Kamal or build'n'run by hand:
5- # docker build -t demo .
6- # docker run -d -p 80:80 -e RAILS_MASTER_KEY=<value from config/master.key> --name demo demo
7-
8- # For a containerized dev environment, see Dev Containers: https://guides.rubyonrails.org/getting_started_with_devcontainer.html
9-
104# Make sure RUBY_VERSION matches the Ruby version in .ruby-version
115ARG RUBY_VERSION=xxx
126FROM ruby:$RUBY_VERSION-slim AS base
@@ -71,7 +65,7 @@ ENV DATABASE_URL="sqlite3:///data/production.sqlite3"
7165# Entrypoint prepares the database.
7266ENTRYPOINT ["/rails/bin/docker-entrypoint" ]
7367
74- # Start server via Thruster by default, this can be overwritten at runtime
75- EXPOSE 80
68+ # Start the server by default, this can be overwritten at runtime
69+ EXPOSE 3000
7670VOLUME /data
77- CMD ["./bin/thrust" , "./bin/ rails" , "server" ]
71+ CMD ["./bin/rails" , "server" ]
Original file line number Diff line number Diff line change 11# syntax=docker/dockerfile:1
22# check=error=true
33
4- # This Dockerfile is designed for production, not development. Use with Kamal or build'n'run by hand:
5- # docker build -t demo .
6- # docker run -d -p 80:80 -e RAILS_MASTER_KEY=<value from config/master.key> --name demo demo
7-
8- # For a containerized dev environment, see Dev Containers: https://guides.rubyonrails.org/getting_started_with_devcontainer.html
9-
104# Make sure RUBY_VERSION matches the Ruby version in .ruby-version
115ARG RUBY_VERSION=xxx
126FROM quay.io/evl.ms/fullstaq-ruby:${RUBY_VERSION}-malloctrim-slim AS base
@@ -72,7 +66,7 @@ ENV DATABASE_URL="sqlite3:///data/production.sqlite3" \
7266# Entrypoint prepares the database.
7367ENTRYPOINT ["/rails/bin/docker-entrypoint" ]
7468
75- # Start server via Thruster by default, this can be overwritten at runtime
76- EXPOSE 80
69+ # Start the server by default, this can be overwritten at runtime
70+ EXPOSE 3000
7771VOLUME /data
78- CMD ["./bin/thrust" , "./bin/ rails" , "server" ]
72+ CMD ["./bin/rails" , "server" ]
Original file line number Diff line number Diff line change 11# syntax=docker/dockerfile:1
22# check=error=true
33
4- # This Dockerfile is designed for production, not development. Use with Kamal or build'n'run by hand:
5- # docker build -t demo .
6- # docker run -d -p 80:80 -e RAILS_MASTER_KEY=<value from config/master.key> --name demo demo
7-
8- # For a containerized dev environment, see Dev Containers: https://guides.rubyonrails.org/getting_started_with_devcontainer.html
9-
104# Make sure RUBY_VERSION matches the Ruby version in .ruby-version
115ARG RUBY_VERSION=xxx
126FROM ruby:$RUBY_VERSION-slim AS base
@@ -75,7 +69,7 @@ ENV DATABASE_URL="sqlite3:///data/production.sqlite3"
7569# Entrypoint prepares the database.
7670ENTRYPOINT ["/rails/bin/docker-entrypoint" ]
7771
78- # Start server via Thruster by default, this can be overwritten at runtime
79- EXPOSE 80
72+ # Start the server by default, this can be overwritten at runtime
73+ EXPOSE 3000
8074VOLUME /data
81- CMD ["./bin/thrust" , "./bin/ rails" , "server" ]
75+ CMD ["./bin/rails" , "server" ]
Original file line number Diff line number Diff line change 11# syntax=docker/dockerfile:1
22# check=error=true
33
4- # This Dockerfile is designed for production, not development. Use with Kamal or build'n'run by hand:
5- # docker build -t demo .
6- # docker run -d -p 80:80 -e RAILS_MASTER_KEY=<value from config/master.key> --name demo demo
7-
8- # For a containerized dev environment, see Dev Containers: https://guides.rubyonrails.org/getting_started_with_devcontainer.html
9-
104# Make sure RUBY_VERSION matches the Ruby version in .ruby-version
115ARG RUBY_VERSION=xxx
126FROM quay.io/evl.ms/fullstaq-ruby:${RUBY_VERSION}-malloctrim-slim AS base
@@ -71,7 +65,7 @@ ENV DATABASE_URL="sqlite3:///data/production.sqlite3"
7165# Entrypoint prepares the database.
7266ENTRYPOINT ["/rails/bin/docker-entrypoint" ]
7367
74- # Start server via Thruster by default, this can be overwritten at runtime
75- EXPOSE 80
68+ # Start the server by default, this can be overwritten at runtime
69+ EXPOSE 3000
7670VOLUME /data
77- CMD ["./bin/thrust" , "./bin/ rails" , "server" ]
71+ CMD ["./bin/rails" , "server" ]
Original file line number Diff line number Diff line change 11# syntax=docker/dockerfile:1
22# check=error=true
33
4- # This Dockerfile is designed for production, not development. Use with Kamal or build'n'run by hand:
5- # docker build -t demo .
6- # docker run -d -p 80:80 -e RAILS_MASTER_KEY=<value from config/master.key> --name demo demo
7-
8- # For a containerized dev environment, see Dev Containers: https://guides.rubyonrails.org/getting_started_with_devcontainer.html
9-
104# Make sure RUBY_VERSION matches the Ruby version in .ruby-version
115ARG RUBY_VERSION=xxx
126FROM ruby:$RUBY_VERSION-slim AS base
@@ -92,7 +86,7 @@ ENV DATABASE_URL="sqlite3:///data/production.sqlite3" \
9286# Entrypoint prepares the database.
9387ENTRYPOINT ["/rails/bin/docker-entrypoint" ]
9488
95- # Start server via Thruster by default, this can be overwritten at runtime
96- EXPOSE 80
89+ # Start the server by default, this can be overwritten at runtime
90+ EXPOSE 3000
9791VOLUME /data
98- CMD ["./bin/thrust" , "./bin/ rails" , "server" ]
92+ CMD ["./bin/rails" , "server" ]
Original file line number Diff line number Diff line change 11# syntax=docker/dockerfile:1
22# check=error=true
33
4- # This Dockerfile is designed for production, not development. Use with Kamal or build'n'run by hand:
5- # docker build -t demo .
6- # docker run -d -p 80:80 -e RAILS_MASTER_KEY=<value from config/master.key> --name demo demo
7-
8- # For a containerized dev environment, see Dev Containers: https://guides.rubyonrails.org/getting_started_with_devcontainer.html
9-
104# Make sure RUBY_VERSION matches the Ruby version in .ruby-version
115ARG RUBY_VERSION=xxx
126FROM ruby:$RUBY_VERSION-slim AS base
@@ -109,7 +103,7 @@ ENV DATABASE_URL="sqlite3:///data/production.sqlite3"
109103# Entrypoint prepares the database.
110104ENTRYPOINT ["/rails/bin/docker-entrypoint" ]
111105
112- # Start server via Thruster by default, this can be overwritten at runtime
113- EXPOSE 80
106+ # Start the server by default, this can be overwritten at runtime
107+ EXPOSE 3000
114108VOLUME /data
115109CMD ["nginx" ]
Original file line number Diff line number Diff line change 11# syntax=docker/dockerfile:1
22# check=error=true
33
4- # This Dockerfile is designed for production, not development. Use with Kamal or build'n'run by hand:
5- # docker build -t demo .
6- # docker run -d -p 80:80 -e RAILS_MASTER_KEY=<value from config/master.key> --name demo demo
7-
8- # For a containerized dev environment, see Dev Containers: https://guides.rubyonrails.org/getting_started_with_devcontainer.html
9-
104# Make sure RUBY_VERSION matches the Ruby version in .ruby-version
115ARG RUBY_VERSION=xxx
126FROM ruby:$RUBY_VERSION-slim AS base
@@ -71,7 +65,7 @@ ENV DATABASE_URL="sqlite3:///data/production.sqlite3"
7165# Entrypoint prepares the database.
7266ENTRYPOINT ["/rails/bin/docker-entrypoint" ]
7367
74- # Start server via Thruster by default, this can be overwritten at runtime
75- EXPOSE 80
68+ # Start the server by default, this can be overwritten at runtime
69+ EXPOSE 3000
7670VOLUME /data
77- CMD ["./bin/thrust" , "./bin/ rails" , "server" ]
71+ CMD ["./bin/rails" , "server" ]
Original file line number Diff line number Diff line change 11# syntax=docker/dockerfile:1
22# check=error=true
33
4- # This Dockerfile is designed for production, not development. Use with Kamal or build'n'run by hand:
5- # docker build -t demo .
6- # docker run -d -p 80:80 -e RAILS_MASTER_KEY=<value from config/master.key> --name demo demo
7-
8- # For a containerized dev environment, see Dev Containers: https://guides.rubyonrails.org/getting_started_with_devcontainer.html
9-
104# Make sure RUBY_VERSION matches the Ruby version in .ruby-version
115ARG RUBY_VERSION=xxx
126FROM ruby:$RUBY_VERSION-slim AS base
@@ -73,7 +67,7 @@ ENV DATABASE_URL="sqlite3:///data/production.sqlite3"
7367# Entrypoint prepares the database.
7468ENTRYPOINT ["/rails/bin/docker-entrypoint" ]
7569
76- # Start server via Thruster by default, this can be overwritten at runtime
77- EXPOSE 80
70+ # Start the server by default, this can be overwritten at runtime
71+ EXPOSE 3000
7872VOLUME /data
79- CMD ["./bin/thrust" , "./bin/ rails" , "server" ]
73+ CMD ["./bin/rails" , "server" ]
Original file line number Diff line number Diff line change 11# syntax=docker/dockerfile:1
22# check=error=true
33
4- # This Dockerfile is designed for production, not development. Use with Kamal or build'n'run by hand:
5- # docker build -t demo .
6- # docker run -d -p 80:80 -e RAILS_MASTER_KEY=<value from config/master.key> --name demo demo
7-
8- # For a containerized dev environment, see Dev Containers: https://guides.rubyonrails.org/getting_started_with_devcontainer.html
9-
104# Make sure RUBY_VERSION matches the Ruby version in .ruby-version
115ARG RUBY_VERSION=xxx
126FROM ruby:$RUBY_VERSION-slim AS base
@@ -71,7 +65,7 @@ ENV DATABASE_URL="sqlite3:///data/production.sqlite3"
7165# Entrypoint prepares the database.
7266ENTRYPOINT ["/rails/bin/docker-entrypoint" ]
7367
74- # Start server via Thruster by default, this can be overwritten at runtime
75- EXPOSE 80
68+ # Start the server by default, this can be overwritten at runtime
69+ EXPOSE 3000
7670VOLUME /data
77- CMD ["./bin/thrust" , "./bin/ rails" , "server" ]
71+ CMD ["./bin/rails" , "server" ]
You can’t perform that action at this time.
0 commit comments