Chore: Delete import functionality as it is not needed
Chore: Update the dockerfile to install poetry Chore: Upgrade the toml for new packages
This commit is contained in:
@ -2,7 +2,7 @@ FROM node:latest AS builder
|
||||
ADD https://git.tanshu.com/api/v1/repos/tanshu/luthor/branches/main /main.json
|
||||
RUN git clone --single-branch --depth 1 --branch main 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
|
||||
RUN npm install --unsafe-perm && /app/otis/node_modules/.bin/ng build
|
||||
|
||||
|
||||
FROM python:latest
|
||||
@ -14,7 +14,7 @@ COPY --from=builder /app/frontend /app/frontend
|
||||
WORKDIR /app
|
||||
|
||||
# Install Poetry
|
||||
RUN curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | POETRY_HOME=/opt/poetry python && \
|
||||
RUN curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | POETRY_HOME=/opt/poetry python && \
|
||||
cd /usr/local/bin && \
|
||||
ln -s /opt/poetry/bin/poetry && \
|
||||
poetry config virtualenvs.create false
|
||||
|
||||
Reference in New Issue
Block a user