Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Metabase
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Engineering Digital Service
Metabase
Commits
5213d151
Commit
5213d151
authored
9 years ago
by
Allen Gilliland
Browse files
Options
Downloads
Patches
Plain Diff
do our app build during our docker image build step in order to speed up launch of the app.
parent
c46bbda7
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+5
-1
5 additions, 1 deletion
Dockerfile
with
5 additions
and
1 deletion
Dockerfile
+
5
−
1
View file @
5213d151
...
...
@@ -27,9 +27,13 @@ RUN ln -s /usr/bin/nodejs /usr/bin/node
# add the application source to the image
ADD
. /app/source
# build the app
WORKDIR
/app/source
RUN
bin/build
# expose our default runtime port
EXPOSE
3000
# build and then run it
WORKDIR
/app/source
ENTRYPOINT
["
bash", "-c", "./bin/build &&
./bin/start"]
ENTRYPOINT
["./bin/start"]
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