Chore: Updated python dependencies

Chore: Updated angular to v19
Chore: Refactored ops with docker and ansible
This commit is contained in:
2024-12-16 17:53:21 +05:30
parent 010e9a84db
commit 2495c24e1a
127 changed files with 9712 additions and 416 deletions

24
frank/Dockerfile Normal file
View File

@ -0,0 +1,24 @@
FROM python:latest
# Install Poetry
RUN curl -sSL https://install.python-poetry.org | POETRY_HOME=/opt/poetry python - && \
cd /usr/local/bin && \
ln -s /opt/poetry/bin/poetry && \
poetry config virtualenvs.create false && \
mkdir /app
WORKDIR /app
ADD https://git.tanshu.com/tanshu/barker/raw/branch/main/frank/pyproject.toml /app/pyproject.toml
RUN poetry install --no-root --no-dev
ADD https://git.tanshu.com/api/v1/repos/tanshu/barker/tags /tags.json
RUN git clone --single-branch --depth 1 https://git.tanshu.com/tanshu/barker.git /repo
RUN mv /repo/frank/* /app
ENV PYTHONPATH=/app
RUN chmod 777 /app/worker-start.sh \
&& ln -s /app/worker-start.sh /usr/local/bin/worker-start.sh \
&& ln -s /app/worker-start.sh /
CMD ["bash", "worker-start.sh"]

View File

@ -1,6 +1,6 @@
[tool.poetry]
name = "frank"
version = "11.7.0"
version = "12.0.0"
description = "Point of Sale for a restaurant"
authors = ["tanshu <git@tanshu.com>"]