This commit is contained in:
@@ -12,7 +12,7 @@ steps:
|
||||
SERVICE_3000_CHECK_HTTP: /${DRONE_REPO_OWNER}/${DRONE_REPO_NAME}/${DRONE_COMMIT_BRANCH}/
|
||||
SERVICE_3000_TAGS: urlprefix-testing.asycn.io/${DRONE_REPO_OWNER}/${DRONE_REPO_NAME}/${DRONE_COMMIT_BRANCH}/*
|
||||
commands:
|
||||
- docker compose -f docker/docker-compose.yml -f docker/docker-compose.labels.yml up --build -d
|
||||
- docker compose -f docker/docker-compose.yml -f docker/docker-compose.labels.yml up --build-arg BASE_PATH="/${DRONE_REPO_OWNER}/${DRONE_REPO_NAME}/${DRONE_COMMIT_BRANCH}" --build -d
|
||||
volumes:
|
||||
- name: dockersock
|
||||
path: /var/run/docker.sock
|
||||
|
||||
@@ -3,7 +3,7 @@ FROM node:${NODE_VERSION}-alpine AS base
|
||||
WORKDIR /app
|
||||
|
||||
FROM base AS build
|
||||
ENV BASE_PATH=/
|
||||
ARG BASE_PATH=/
|
||||
COPY package.json package-lock.json ./
|
||||
RUN npm install
|
||||
COPY --link ./ ./
|
||||
|
||||
Reference in New Issue
Block a user