diff --git a/.drone.yml b/.drone.yml index 44d6351..fca5409 100644 --- a/.drone.yml +++ b/.drone.yml @@ -12,8 +12,10 @@ steps: - npm -v - yarn --version - yarn config set registry https://registry.npm.taobao.org - - yarn install vite - - vite build + - yarn install + - ls + - yarn vite build + - ls - name: publish image: plugins/docker:19.03.8 environment: diff --git a/Dockerfile b/Dockerfile index d91e269..10262bc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,3 @@ -FROM 1.21.0-alpine +FROM nginx:1.21.0-alpine WORKDIR /usr/share/nginx/html COPY dist . \ No newline at end of file