From 82011d5a61a88c0c2696183ae25946185a2c2edd Mon Sep 17 00:00:00 2001 From: Stefan Scherer Date: Wed, 23 Sep 2020 16:48:23 +0200 Subject: [PATCH] Use ENV key=value Signed-off-by: Stefan Scherer --- docs/containers/debug-node.md | 2 +- docs/python/tutorial-create-containers.md | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/containers/debug-node.md b/docs/containers/debug-node.md index c72438a1e6e..787fbdb176b 100644 --- a/docs/containers/debug-node.md +++ b/docs/containers/debug-node.md @@ -211,7 +211,7 @@ The solution is to remove that optimization from the `Dockerfile`: ```dockerfile FROM node:10.13-alpine -ENV NODE_ENV production +ENV NODE_ENV=production WORKDIR /usr/src/app COPY ["package.json", "package-lock.json*", "npm-shrinkwrap.json*", "./"] # Remove the `&& mv node_modules ../` from the RUN command: diff --git a/docs/python/tutorial-create-containers.md b/docs/python/tutorial-create-containers.md index 1d8d550065e..1e2ad8f1e68 100644 --- a/docs/python/tutorial-create-containers.md +++ b/docs/python/tutorial-create-containers.md @@ -111,10 +111,10 @@ The following steps summarize the configuration used in the [python-sample-vscod EXPOSE 5000 # Indicate where uwsgi.ini lives - ENV UWSGI_INI uwsgi.ini + ENV UWSGI_INI=uwsgi.ini # Tell nginx where static files live. - ENV STATIC_URL /hello_app/static + ENV STATIC_URL=/hello_app/static # Set the folder where uwsgi looks for the app WORKDIR /hello_app @@ -187,11 +187,11 @@ The following steps summarize the configuration used in the [python-sample-vscod EXPOSE 8000 # Indicate where uwsgi.ini lives - ENV UWSGI_INI uwsgi.ini + ENV UWSGI_INI=uwsgi.ini # Tell nginx where static files live (as typically collected using Django's # collectstatic command. - ENV STATIC_URL /app/static_collected + ENV STATIC_URL=/app/static_collected # Copy the app files to a folder and run it from there WORKDIR /app