Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
scriptorium
Manage
Activity
Members
Labels
Plan
Issues
21
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
degrowth
scriptorium
Commits
17d6380b
Commit
17d6380b
authored
7 years ago
by
Gualter
Browse files
Options
Downloads
Plain Diff
Merge branch 'deployment' into impl-202
parents
810149b6
1dbf12a5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!14
Call opening day adjustments, closes #202
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Dockerfile
+4
-3
4 additions, 3 deletions
Dockerfile
docker-entrypoint.sh
+2
-0
2 additions, 0 deletions
docker-entrypoint.sh
with
6 additions
and
3 deletions
Dockerfile
+
4
−
3
View file @
17d6380b
FROM
ruby:2.2.3-onbuild
RUN
apt-get update
&&
apt-get upgrade
-y
RUN
apt-get
install
nodejs
-y
RUN
apt-get update
&&
apt-get
install
nodejs
-y
EXPOSE
5000
CMD
bundle exec rails server -p $PORT -e $RACK_ENV
CMD
["/usr/src/app/docker-entrypoint.sh"]
VOLUME
["/usr/src/app/public/assets","/usr/src/app/public/system"]
This diff is collapsed.
Click to expand it.
docker-entrypoint.sh
0 → 100755
+
2
−
0
View file @
17d6380b
#!/usr/bin/env bash
bundle
exec
rails server
-p
5000
-e
production
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment