1 Star 0 Fork 814

yefeng001 / gin-vue-admin

forked from pixel / gin-vue-admin 
Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
dockerfile_web 484 Bytes
Copy Edit Raw Blame History
FROM node:12.16.1
WORKDIR /gva_web/
COPY web/ .
RUN npm install -g cnpm --registry=https://registry.npm.taobao.org
RUN cnpm install || npm install
RUN npm run build
FROM nginx:alpine
LABEL MAINTAINER="SliverHorn@sliver_horn@qq.com"
COPY .docker-compose/nginx/conf.d/my.conf /etc/nginx/conf.d/my.conf
COPY --from=0 /gva_web/dist /usr/share/nginx/html
RUN cat /etc/nginx/nginx.conf
RUN cat /etc/nginx/conf.d/my.conf
RUN ls -al /usr/share/nginx/html
CMD ls -al /usr/share/nginx/html
1
https://gitee.com/yefenglaixi/gin-vue-admin.git
git@gitee.com:yefenglaixi/gin-vue-admin.git
yefenglaixi
gin-vue-admin
gin-vue-admin
master

Search