Clone the main branch
This commit is contained in:
parent
f2e330df61
commit
ee9a0eb86f
@ -1,6 +1,6 @@
|
|||||||
FROM node:latest AS builder
|
FROM node:latest AS builder
|
||||||
ADD https://git.tanshu.com/api/v1/repos/tanshu/luthor/branches/main /main.json
|
ADD https://git.tanshu.com/api/v1/repos/tanshu/luthor/branches/main /main.json
|
||||||
RUN git clone --single-branch --depth 1 --branch latest https://git.tanshu.com/tanshu/luthor.git /app
|
RUN git clone --single-branch --depth 1 --branch main https://git.tanshu.com/tanshu/luthor.git /app
|
||||||
WORKDIR /app/otis
|
WORKDIR /app/otis
|
||||||
RUN npm install --unsafe-perm --legacy-peer-deps && /app/otis/node_modules/.bin/ng build --prod
|
RUN npm install --unsafe-perm --legacy-peer-deps && /app/otis/node_modules/.bin/ng build --prod
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user