Lint and update dockerfile for deploying
This commit is contained in:
@ -1,14 +1,14 @@
|
||||
FROM node:latest AS builder
|
||||
ADD https://git.tanshu.com/api/v1/repos/tanshu/barker/tags /tags.json
|
||||
RUN git clone --single-branch --depth 1 --branch latest https://git.tanshu.com/tanshu/barker.git /app
|
||||
WORKDIR /app/bookie
|
||||
RUN npm install --unsafe-perm --legacy-peer-deps && /app/bookie/node_modules/.bin/ng build --prod
|
||||
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
|
||||
WORKDIR /app/otis
|
||||
RUN npm install --unsafe-perm --legacy-peer-deps && /app/otis/node_modules/.bin/ng build --prod
|
||||
|
||||
|
||||
FROM python:latest
|
||||
LABEL maintainer="Amritanshu <docker@tanshu.com>"
|
||||
|
||||
COPY --from=builder /app/barker /app
|
||||
COPY --from=builder /app/luthor /app
|
||||
COPY --from=builder /app/frontend /app/frontend
|
||||
|
||||
RUN apt-get update && \
|
||||
|
||||
Reference in New Issue
Block a user