Skip to content

Repositório dos containers do Sistema de Apoio às Leis de Incentivo à Cultura

License

Notifications You must be signed in to change notification settings

wouerner/docker-salic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-salic

Repo used to have a recipe(Dockerfile) to create a image used by SALIC (Sistema de Apoio às Leis de Incentivo à Cultura)

Prerequisites

  • Docker - More information here.

Datails

For Each extension installed inside DockerFile, PHP will be compiled again.

How to build - New image

  • Enter inside this cloned repository;
  • Execute the commando below to create a new image.
docker build -t salic-web:1.0 .

This code -t salic-web:1.0 means you will create a image named 'salic-web' and tag '1.0' and the . means your build will use the same folder.

You can execute the command below to create a new container using this new image created. Note: $(pwd) means your current directory. You can also change it, if you want.

docker run -it -v $(pwd):/var/www --name salic-webv1.0 -e APPLICATION_ENV="development" -p 80:80 -p 9000:9000 salic-web:1.0 bash

Or You you can also execute the same command above, but arranging using docker-compose:

@todo fill here

Extra

If you wanna check something inside your container you can access using the command below:

docker exec -it salic-webv1.0 bash

See the authors of this repo:

About

Repositório dos containers do Sistema de Apoio às Leis de Incentivo à Cultura

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages