Skip to content

Latest commit

 

History

History
 
 

packager

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Assumptions

If either of these is not true, you will need to make changes to make the correct certificate available, and to ensure the unencrypted certificates make it onto the container. Please see Dockerfile and decrypt.sh, and the sample command for encryption and decription at the bottom of this file. It may also be useful to be aware of how to pass environment variables to Docker via the --env command.

Deploy and run on Google App Engine

# deploy
$ cd .. && gulp packagerDeploy

Build and run on local Docker instance

# build local Docker image called "amppkg"
$ docker build -t amppkg .

# create local container from Docker image, expose ports (uses CMD)
$ docker run -p 8080:8080 --env PASSWORD=$PASSWORD amppkg

# create (local) container from Docker image and provide shell (ignore CMD)
$ docker run -it amppkg bash