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

View File

@@ -19,4 +19,6 @@
poetry run ruff . --fix
@containers:
podman build -f python.dockerfile -t pi-mta-sign:latest . --load
podman build --platform linux/arm64,linux/amd64 -f docker/python.dockerfile --manifest chaos2theory/pi-mta-sign:test .
podman manifest push --all chaos2theory/pi-mta-sign:test
podman manifest rm chaos2theory/pi-mta-sign:test

View File

@@ -1,3 +1,2 @@
nodeLinker: node-modules
yarnPath: .yarn/releases/yarn-3.6.1.cjs

4734
mta-sign-ui/package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

10
node_modules/.yarn-integrity generated vendored Normal file
View File

@@ -0,0 +1,10 @@
{
"systemParams": "linux-x64-115",
"modulesFolders": [],
"flags": [],
"linkedModules": [],
"topLevelPatterns": [],
"lockfileEntries": {},
"files": [],
"artifacts": {}
}

3
package.json Normal file
View File

@@ -0,0 +1,3 @@
{
"packageManager": "yarn@4.1.0"
}

View File

@@ -23,8 +23,6 @@ requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
# Enable the pycodestyle (`E`) and Pyflakes (`F`) rules by default.
# Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or

4
yarn.lock Normal file
View File

@@ -0,0 +1,4 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1