shifting-git-host
This commit is contained in:
@@ -1,15 +1,23 @@
|
||||
FROM python:3.11-alpine
|
||||
|
||||
RUN pip install poetry
|
||||
FROM docker.io/library/python:3.11
|
||||
LABEL authors="lucasoskorep"
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN apt-get update
|
||||
RUN apt-get install -y \
|
||||
build-essential \
|
||||
curl
|
||||
|
||||
# Needed when building for obscure cpu architectures
|
||||
#RUN curl https://sh.rustup.rs -sSf | bash -s -- -y
|
||||
#ENV PATH="/root/.cargo/bin:${PATH}"
|
||||
#RUN cargo
|
||||
|
||||
RUN pip install poetry
|
||||
COPY ../pyproject.toml poetry.lock ./
|
||||
|
||||
RUN poetry install --without dev
|
||||
|
||||
COPY ../mta_api_client ./
|
||||
COPY ../mta_sign_server ./
|
||||
|
||||
COPY ../main.py stops.txt ./
|
||||
|
||||
ENTRYPOINT ["poetry", "run", "python", "-m", "annapurna.main"]
|
||||
ENTRYPOINT ["poetry", "run", "python", "-m", "main.py"]
|
||||
@@ -1,4 +1,13 @@
|
||||
FROM ubuntu:latest
|
||||
FROM docker.io/library/node:21-alpine
|
||||
LABEL authors="lucasoskorep"
|
||||
|
||||
ENTRYPOINT ["top", "-b"]
|
||||
WORKDIR /app
|
||||
|
||||
COPY mta-sign-ui/* .
|
||||
|
||||
RUN corepack enable
|
||||
|
||||
RUN yarn set version stable
|
||||
RUN yarn --version
|
||||
RUN yarn
|
||||
|
||||
|
||||
Reference in New Issue
Block a user