Seperated out from slidge directory
This commit is contained in:
15
Dockerfile
Normal file
15
Dockerfile
Normal 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
|
||||
Reference in New Issue
Block a user