shifting-git-host

This commit is contained in:
Lucas Oskorep
2024-03-26 02:21:16 -04:00
parent 77b6b247cc
commit dae0625278
10 changed files with 6094 additions and 1365 deletions

View File

@@ -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"]

View File

@@ -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