/ts-docker-script-42

Simple files to start a docker container to run TS apps at 42

Primary LanguageDockerfile

Simple files to start a docker container to run TS apps at 42 (The sgoinfre is auto mounted as a volume in the container)

Installation

Run this command in the cloned folder (change the dotfile if you doesn't use ZSH):

echo 'export PATH=$PATH:'$PWD >> ~/.zshrc

Run

You can start your container anywhere using this command:

node_docker

You can add any argument to docker run command, like:

node_docker "-p 3000:3000 -p 80:80"