Skip to content

marc-despland/s2i-angular2

Repository files navigation

angular2-lighttpd

This is an S2I image use to build Angular2 project written in typscript with angular-cli

Requirements

To build the S2I image

1. Clone this repository
2. Execute ```docker build -t angular2-lighttpd .```

To build an image with your application code

s2i build git://<source code> angular2-lighttpd <application image>

To run your image with Docker

docker run -it --rm <application image>

The lighttpd server will listen on port 8080

Custumize lighttpd configuration

If you create a lighttpd folder at the root of your project, its containt will be copy in /opt/app-root/etc folder (the configuration folder of lighttpd).

By default the lighttpd.conf include the file application.conf (empty by default). so it's the good place to extend the default configuration.

About

An S2I image to build angular2 typescript application and run it with lighttpd

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published