mirror of
https://github.com/bitnami/containers.git
synced 2026-03-19 15:57:46 +08:00
dist: improve comments in generated Dockerfile
This commit is contained in:
14
bitnami/express/rootfs/dist/Dockerfile.tpl
vendored
14
bitnami/express/rootfs/dist/Dockerfile.tpl
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user