3 Star 3 Fork 22

wgw / education-cloud-web-admin

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
Dockerfile 405 Bytes
Copy Edit Web IDE Raw Blame History
wgw authored 2020-03-31 17:19 . 修改docker打包问题
# build stage
FROM node:10.15 as build-stage
MAINTAINER williewu
RUN npm config set registry https://registry.npm.taobao.org
WORKDIR /app
COPY . .
RUN npm install
RUN npm run build
# production stage
FROM nginx:1.17.9-alpine as production-stage
COPY nginx/nginx.conf /etc/nginx/conf.d/default.conf
COPY --from=build-stage /app/dist /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]

Comment ( 0 )

Sign in for post a comment

Java
1
https://gitee.com/wewwww/education-cloud-web-admin.git
git@gitee.com:wewwww/education-cloud-web-admin.git
wewwww
education-cloud-web-admin
education-cloud-web-admin
master

Search