Fix liquid syntax error

This commit is contained in:
usha-mandya 2019-06-10 18:38:02 +01:00 committed by Dawn W Docker
parent d8cbd37c9a
commit d823200315
1 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
--- ---
title: Working with Docker Template title: Working with Docker Template
description: Working with Docker Application Template description: Working with Docker Application Template
keywords: Docker, application template, Application Designer keywords: Docker, application template, Application Designer,
--- ---
## Overview ## Overview
@ -101,10 +101,10 @@ COPY assets /assets
``` ```
version: "3.6" version: "3.6"
services: services:
{{ .Name }}: {% raw %} {{ .Name }}:{% endraw %}
build: {{ .Name }} {% raw %} build: {{ .Name }}{% endraw %}
ports: ports:
- {{ .Parameters.externalPort }}:3000 {% raw %} - {{ .Parameters.externalPort }}:3000{% endraw %}
``` ```
`my-service/assets/Dockerfile` `my-service/assets/Dockerfile`
@ -250,7 +250,7 @@ When this is complete, use the newly added node option in `my-service/assets/Doc
with with
`FROM node:{{ .Parameters.node }}` {% raw %}`FROM node:{{ .Parameters.node }}`{% endraw %}
Now, build and push the image to your repository. Now, build and push the image to your repository.