building 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/building.rb +5 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf9b6854c7789c6e15a7817850233c5ae7b3f09a
|
4
|
+
data.tar.gz: a85aacd67cd581e46be3654ed38d254aa5a08442
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f5a6dc62daf4ce3db3f678a826e0a371bc849847d528bca45d45b7c58131cfe95fabd5dd5890a86ef0008521562e7a62ebef85531aa1411b5120efc2e5c1295
|
7
|
+
data.tar.gz: f8eb82132d122053cce8cfbf841cfa087904ef40c3dce0506df426fdeb5b956578188eff5ee1c27ac87eb10bb4edbff21319e7355d848b62aefb4833bd7818e4
|
data/lib/building.rb
CHANGED
@@ -130,7 +130,11 @@ eof
|
|
130
130
|
end
|
131
131
|
|
132
132
|
def explain_container(port)
|
133
|
-
|
133
|
+
if @fig
|
134
|
+
run = "fig up -d"
|
135
|
+
else
|
136
|
+
run = "docker run -d -p #{port} -e \"PORT=#{port}\" #{@app_name}:#{@tag}"
|
137
|
+
end
|
134
138
|
rebuild = "docker build -t #{@app_name} ."
|
135
139
|
|
136
140
|
say " <%= color('hint', [YELLOW, BOLD]) %> To run your app, try: <%= color('#{run}', [BOLD]) %>"
|