Skip to content

codenoid/docker-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DockerScript

production ready

Embed your project files into single existing Dockerfile file with respect to .dockerignore & GZIP compression support

Inspired by @adtac's Gist

Features

  • .dockerignore support
  • GZIP Compression Support (~80% Smaller!!!)

How to run

Install Go to follow the step below

go install github.com/codenoid/docker-script@latest # install dockerscript

cd your-project-which-contains-dockerfile

# generates Dockerfile.script which will contains all of your project files
docker-script -path .

# run the generated Dockerfile
./Dockerfile.script

Is this ready for production?

yeah yeah, it's ready, but you may need to test your Dockerfile.script first, you may want to change something

About

Embed your whole project files into single existing Dockerfile file with respect to .dockerignore & GZIP compression support.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages