File tree 1 file changed +8
-6
lines changed
1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change 34
34
nginx: start
35
35
env_file: ./magic.env
36
36
37
+ platform: linux/x86_64
38
+
37
39
http:
38
40
# Requests to this path will be forwarded to your service.
39
41
# To match all requests you can use the "/" path.
@@ -48,12 +50,12 @@ cpu: 256
48
50
memory: 512
49
51
# Number of tasks that should be running in your service.
50
52
count: 1
51
-
52
53
sidecars:
53
54
nginx:
54
55
port: 80
55
56
image:
56
- build: nginx/Dockerfile
57
+ build: nginx/Dockerfile
58
+ context: ./nginx
57
59
variables:
58
60
NGINX_PORT: 80
59
61
env_file: ./magic.env
@@ -157,10 +159,10 @@ var _ = Describe("sidecars flow", func() {
157
159
)
158
160
BeforeAll (func () {
159
161
_ , svcInitErr = cli .SvcInit (& client.SvcInitRequest {
160
- Name : svcName ,
161
- SvcType : "Load Balanced Web Service" ,
162
- Dockerfile : "./hello/Dockerfile" ,
163
- SvcPort : "3000" ,
162
+ Name : svcName ,
163
+ SvcType : "Load Balanced Web Service" ,
164
+ Image : mainImageURI ,
165
+ SvcPort : "3000" ,
164
166
})
165
167
})
166
168
You can’t perform that action at this time.
0 commit comments