This container needs an Angular project to work. It will download npm packages and build it.
2.3K
= Docker container Angular
This repository contains configurations to create a Docker container with:
This container needs an Angular project to work. At the running, it will download npm packages and build the project.
Like that, after few secondes/minutes, your Angular app works.
== Getting Started
=== Prerequisites
You have to install Docker and Docker Compose (optional) to build and run this container. You also need to have an Angular project to start this container.
=== Pull container
You can download this container from DockerHub by launching this command :
It will download the latest version.
=== Run container
==== Prerequisites
Firstly, you have to plug an Angular project. To do that, you need to create a data volume between host and docker container:
You also can create an environment variable to choose if it's a production or prototype environment. In parallel, you have to set it in Angular application configuration. Please consult official documentation.
==== Running
You can use docker-compose.yml:
It will run your container with parameters specified in the file.
OR
You can use docker run command:
=== Test your project
Open in your browser this URL http://localhost:80
OR
Consult Docker container logs
OR
Go into the Docker container
== Author
Louis Paret - [email protected]
Content type
Image
Digest
Size
221.8 MB
Last updated
almost 8 years ago
docker pull lparet/docker-ubuntu-angular