mirror of https://github.com/docker/docs.git
Fix liquid syntax error
This commit is contained in:
parent
d8cbd37c9a
commit
d823200315
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
title: Working with Docker Template
|
||||
description: Working with Docker Application Template
|
||||
keywords: Docker, application template, Application Designer
|
||||
keywords: Docker, application template, Application Designer,
|
||||
---
|
||||
|
||||
## Overview
|
||||
|
@ -101,10 +101,10 @@ COPY assets /assets
|
|||
```
|
||||
version: "3.6"
|
||||
services:
|
||||
{{ .Name }}:
|
||||
build: {{ .Name }}
|
||||
{% raw %} {{ .Name }}:{% endraw %}
|
||||
{% raw %} build: {{ .Name }}{% endraw %}
|
||||
ports:
|
||||
- {{ .Parameters.externalPort }}:3000
|
||||
{% raw %} - {{ .Parameters.externalPort }}:3000{% endraw %}
|
||||
```
|
||||
|
||||
`my-service/assets/Dockerfile`
|
||||
|
@ -250,7 +250,7 @@ When this is complete, use the newly added node option in `my-service/assets/Doc
|
|||
|
||||
with
|
||||
|
||||
`FROM node:{{ .Parameters.node }}`
|
||||
{% raw %}`FROM node:{{ .Parameters.node }}`{% endraw %}
|
||||
|
||||
Now, build and push the image to your repository.
|
||||
|
||||
|
|
Loading…
Reference in New Issue