diff --git a/bitnami/express/rootfs/dist/Dockerfile.tpl b/bitnami/express/rootfs/dist/Dockerfile.tpl index bb955e3b7342..27c81c146df0 100644 --- a/bitnami/express/rootfs/dist/Dockerfile.tpl +++ b/bitnami/express/rootfs/dist/Dockerfile.tpl @@ -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