test
Some checks are pending
continuous-integration/drone/push Build is running

This commit is contained in:
mol
2023-12-14 10:32:38 +08:00
parent 4a86ca162a
commit 1fbe397078
2 changed files with 9 additions and 3 deletions

View File

@ -34,10 +34,17 @@ steps: # 定义管道的执行步骤
tags: tags:
- latest - latest
- name: install
image: node:18
pull: if-not-exists
depends_on: [build-tags]
commands:
- npm install
- name: build-image - name: build-image
image: plugins/docker image: plugins/docker
pull: if-not-exists pull: if-not-exists
depends_on: [build-tags] depends_on: [install]
settings: settings:
username: username:
from_secret: docker_username from_secret: docker_username

View File

@ -5,8 +5,7 @@ WORKDIR /app
# COPY package*.json ./ # COPY package*.json ./
COPY . . COPY . .
# RUN npm --registry https://registry.npm.taobao.org install
RUN npm --registry https://registry.npm.taobao.org install
EXPOSE 8080 EXPOSE 8080