Seperated out from slidge directory

This commit is contained in:
Alicia
2024-04-11 13:40:28 -07:00
parent e4f3c150cf
commit 0a698b3640
10 changed files with 1817 additions and 12 deletions

15
Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
FROM docker.io/nicocool84/slidge-builder AS builder
COPY poetry.lock pyproject.toml /build/
RUN poetry export --without-hashes >requirements.txt
RUN python3 -m pip install --requirement requirements.txt
# main container
FROM docker.io/nicocool84/slidge-base AS slidgevoipms
COPY --from=builder /venv /venv
COPY ./slidgevoipms /venv/lib/python/site-packages/legacy_module
# dev container
FROM docker.io/nicocool84/slidge-dev AS dev
COPY --from=builder /venv /venv