Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
heroku-buildpack-static
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Python-Dev
heroku-buildpack-static
Commits
a60c0ad2
Commit
a60c0ad2
authored
Jul 09, 2016
by
Terence Lee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move command to Dockerfile
parent
375e679c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
1 deletion
+1
-1
app_runner.rb
spec/support/app_runner.rb
+0
-1
Dockerfile
spec/support/docker/Dockerfile
+1
-0
No files found.
spec/support/app_runner.rb
View file @
a60c0ad2
...
...
@@ -26,7 +26,6 @@ class AppRunner
@container
=
Docker
::
Container
.
create
(
"Image"
=>
BuildpackBuilder
::
TAG
,
"Cmd"
=>
[
"bash"
,
"-c"
,
"cp -rf /src/* /app/ && /app/bin/boot"
],
# Env format is [KEY1=VAL1 KEY2=VAL2]
"Env"
=>
env
.
to_a
.
map
{
|
i
|
i
.
join
(
"="
)
},
"HostConfig"
=>
{
...
...
spec/support/docker/Dockerfile
View file @
a60c0ad2
...
...
@@ -16,3 +16,4 @@ WORKDIR /app
COPY
./spec/support/docker/init.sh /usr/bin/init.sh
ENTRYPOINT
["/usr/bin/init.sh"]
CMD
"/app/bin/boot"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment