File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -198,10 +198,24 @@ the builds of these images. The `Dockerfile` must follow these specifications:
198
198
* The image must not include any ` EXPOSE ` directives
199
199
* The image must not include any ` ONBUILD ` directives
200
200
201
- Here is an example of a ` Dockerfile ` that follows the specifications for a Go program :
201
+ Here is an example of a ` Dockerfile ` that follows the specifications for an engine written in Node.js :
202
202
203
203
```
204
- TODO Dockerfile EXAMPLE Here
204
+ FROM node
205
+
206
+ MAINTAINER Michael R. Bernstein
207
+
208
+ RUN useradd -u 9000 -r -s /bin/false app
209
+
210
+ RUN npm install glob
211
+
212
+ WORKDIR /code
213
+ COPY . /usr/src/app
214
+
215
+ USER app
216
+ VOLUME /code
217
+
218
+ CMD ["/usr/src/app/bin/fixme"]
205
219
```
206
220
207
221
## Resource Restrictions
You can’t perform that action at this time.
0 commit comments