dist: improve comments in generated Dockerfile

This commit is contained in:
Adnan Abdulhussein
2017-01-17 17:41:05 -08:00
parent 45b1ecc576
commit 92fafae29e

View File

@@ -1,14 +1,4 @@
## GENERATED BY bitnami/express:{{BITNAMI_IMAGE_VERSION}} IMAGE
## BROUGHT TO YOU BY BITNAMI.
##
## BUILDING
## (from project root directory)
## $ docker build -t myapp .
##
## RUNNING
## $ docker run -p 3000:3000 myapp
##
## Dockerfile for building production image
FROM bitnami/express:{{BITNAMI_IMAGE_VERSION}}
MAINTAINER john.smith@acme.com
@@ -17,7 +7,7 @@ ENV DISABLE_WELCOME_MESSAGE=1
ENV NODE_ENV=production \
PORT=3000
# fine tune the behavior of the default entrypoint
# Skip fetching dependencies and database migrations for production image
ENV SKIP_DB_WAIT=0 \
SKIP_DB_MIGRATION=1 \
SKIP_NPM_INSTALL=1