-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use ruby as base instead of the monolithic passenger
- Loading branch information
1 parent
5249cf9
commit 21836d8
Showing
4 changed files
with
30 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
ARCHITECTURE=arm64v8/ | ||
RUBY_VERSION=2.6 | ||
ORTOOLS_VERSION=v7.8 # select from https://github.com/google/or-tools/releases |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
version: '3.7' | ||
x-app-args: &app-args | ||
ARCHITECTURE: ${ARCHITECTURE} | ||
RUBY_VERSION: ${RUBY_VERSION} | ||
ORTOOLS_VERSION: ${ORTOOLS_VERSION} | ||
|
||
x-app: &default-app | ||
volumes: | ||
- ./:/srv/app/ | ||
env_file: | ||
- ./.env | ||
|
||
services: | ||
main: | ||
<<: *default-app | ||
build: | ||
args: | ||
<<: *app-args | ||
context: . | ||
dockerfile: Dockerfile | ||
image: dev.example.com/mapotempo/optimizer-ortools | ||
tty: true |