springjk / web-dev-docker Goto Github PK
View Code? Open in Web Editor NEW前端开发环境 docker 镜像
License: MIT License
前端开发环境 docker 镜像
License: MIT License
dockerfile文件底37行:RUN true \ 运行到这里报错
npm info it worked if it ends with ok
npm info using [email protected]
npm info using [email protected]
npm info attempt registry request try #1 at 9:35:46 PM
npm http request GET https://registry.npm.taobao.org/n
npm http 304 https://registry.npm.taobao.org/n
npm info addNameTag [ 'n', 'latest' ]
npm info lifecycle [email protected]preinstall: [email protected]install: [email protected]
npm info linkStuff [email protected]
/usr/local/bin/n -> /usr/local/lib/node_modules/n/bin/n
npm info lifecycle [email protected]
npm info lifecycle [email protected]~postinstall: [email protected]
/usr/local/lib
`-- [email protected]
npm info ok
root@7ebdcd5724f5: /workspace
env: can't execute 'bash': No such file or directory
FAIL
启动命令如下:
docker run -itd -p 8080:8080 -v /Users/meng/Documents/admin:/workspace --name wxhp --restart always springjk/webdev
启动的项目地址:
项目在本地 /Users/meng/Documents/admin
git clone https://github.com/PanJiaChen/vue-element-admin.git
在容器内安装依赖
npm install
在容器内启动项目
npm run dev
本地无法通过 http://localhost:8080 访问
docker pull springjk/webdev
Using default tag: latest
Error response from daemon: Get https://registry-1.docker.io/v2/springjk/webdev/manifests/latest: unauthorized: incorrect username or password
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.