Sign inSign up

cybercangaco/client.environment

By cybercangaco

•Updated almost 8 years ago

Client building environment of Cyber Cangaço

Image
0

988

cybercangaco/client.environment repository overview

⁠Client building environment of Cyber Cangaço

Docker Automated build

Docker image to run nuxt.js⁠ projects

The project must be in the /usr/local/src container folder and will be available on port :3000 of the container

⁠Tags available

⁠Come on, do your tests

docker pull cybercangaco/client.environment:stable

⁠How to build

to build the image you need install the docker engine⁠ only

You can try building with different versions of software with docker args, for example: NODE_VERISON=10.0.0

git clone https://github.com/cybercangaco/client.environment.git
cd tap.client.environment
docker build . --tag cybercangaco/client.environment

⁠How to use

⁠Only with docker command:
# in your project folder
docker run -it --rm -v $(pwd):/usr/share/src -p 3000:3000 cybercangaco/client.environment:stable [command or npm script]

# or docker-compose
docker-compose run nuxt [command or npm script]
⁠With docker-compose⁠

Create the docker-compose.yml file in your project folder with:

# (...)

  nuxt:
    image: cybercangaco/client.environment:stable
    restart: on-failure
    volumes:
      - type: bind
        source: ./
        target: /usr/share/src
    ports:
      - 3000:3000
      # - 9229:9229 # node debug port
    #command: dev

# (...)

⁠How to enter image shell

docker run -it --rm cybercangaco/client.environment sh
# or with docker-compose
docker-compose run nuxt sh
⁠License

This project is licensed under the MIT License - see the LICENSE⁠ file for details

Tag summary

Content type

Image

Digest

Size

211.4 MB

Last updated

almost 8 years ago

docker pull cybercangaco/client.environment