Contain all the images that can be used in order to get a Nativescript environment
413
Docker image to run Nativescript development inside a code-server environment, ready to code in the browser.
The documentation about the Framework Nativescript can be found here : Nativescript documentationā
Warning : This image only have the Framework Angular by default installed to be used with Nativescript. There will be other framework available in the futur.
While waiting you can add through the code server terminal another Framework
Also non Virtual Device are currently installed to test the application on mobile. The creation by default of a virtual device is currently in progress
Start a new container:
docker run -d --name my-nativescript -p {port_1}:4200 -p {port_2}:8080 aurelien0713/nativescript:{tag}
Access your code-server in the browser at:
http://localhost:{port_2}
You can configure the container using environment variables and volume mounts.
| Variable | Default | Description |
|---|---|---|
GIT_USER | (empty) | Git username for commits |
GIT_MAIL | (empty) | Email address for Git commits |
CODESRV_PASS | change_me | Password to access code-server |
š” Tip: Git configuration can be updated later inside the container if needed.
Mount a local folder to persist your workspace:
docker run -d \
--name my-nativescript \
-p {port}:4200 \
-p {port_2}:8080 \
-v {yourPath}:/home/nativescript/workspace \
aurelien0713/nativescript:{tag}
If you want to use the current directory :
%cd% on Windows$(pwd) on Linux / macOSExample:
docker run -d --name my-nativescript -p 4200:4200 -p 8080:8080 -v %cd%:/home/nativescript/workspace aurelien0713/nativescript:latest
CODESRV_PASS before exposing to public networks.http://localhost:{port}.ns create my-app --angular
cd my-app
ns run android
Inside the container:
/home/angular/workspace
āā my-app/ # Your Angular projects
āā .vscode/ # VS Code settings
āā node_modules/ # Dependencies (inside container)
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
Content type
Image
Digest
sha256:de75678e5ā¦
Size
1.2 GB
Last updated
7 months ago
docker pull aurelien0713/nativescript:angular-08032026