Provide images for dart web development.
1.0K
Additionally to the google/dart images web-development with dart require:
webdev andServing the website from your project root folder:
» docker run -it --rm -v ${PWD}:/app \
-p 8080:8080 -p 8081:8081 \
tammoippen/dart-web:2.0-server
This is not good for production (webdev serve) nor for development, as the folder is copied into the image's $HOME, and changes cannot be tracked.
Building your project:
» docker run -it --rm -v ${PWD}:/app \
tammoippen/dart-web:2.0-builder
Afterwards a folder /build contains the compilation result.
Testing your project using chrome:
» docker run -it --rm -v ${PWD}:/app \
--cap-add SYS_ADMIN \
tammoippen/dart-web:2.0-tester
Content type
Image
Digest
Size
387.5 MB
Last updated
about 7 years ago
docker pull tammoippen/dart-web:2.4-server