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
|
||||
|
||||
|
||||
4
justfile
4
justfile
@@ -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
|
||||
@@ -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
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
10
node_modules/.yarn-integrity
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"systemParams": "linux-x64-115",
|
||||
"modulesFolders": [],
|
||||
"flags": [],
|
||||
"linkedModules": [],
|
||||
"topLevelPatterns": [],
|
||||
"lockfileEntries": {},
|
||||
"files": [],
|
||||
"artifacts": {}
|
||||
}
|
||||
3
package.json
Normal file
3
package.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"packageManager": "yarn@4.1.0"
|
||||
}
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user