Skip to content

Commit a77976f

Browse files
committed
fix: Use base python image for demo image and install web.py for github repo
Signed-off-by: JamieHale <[email protected]>
1 parent 507b90d commit a77976f

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

demo/requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
asyncpg~=0.30.0
22
prompt_toolkit~=3.0.51
3-
web.py~=0.62
43
pygments~=2.19
54
qrcode[pil]~=8.2

docker/Dockerfile.demo

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
1-
ARG from_image=ghcr.io/openwallet-foundation/acapy-agent:py3.12-1.3.0
2-
FROM ${from_image}
1+
ARG python_version=3.13
2+
FROM python:${python_version}-slim-bookworm AS build
3+
4+
RUN apt-get update -y && \
5+
apt-get install -y --no-install-recommends \
6+
libsodium23 git curl \
7+
build-essential \
8+
libsqlcipher-dev && \
9+
apt-get install -y libpq-dev postgresql-client && \
10+
apt-get clean && \
11+
rm -rf /var/lib/apt/lists/*
312

413
ENV ENABLE_PTVSD 0
514
ENV ENABLE_PYDEVD_PYCHARM 0
@@ -25,11 +34,12 @@ COPY scripts ./scripts
2534

2635
RUN pip3 install --no-cache-dir -e .
2736

28-
RUN mkdir demo && chown -R aries:aries demo && chmod -R ug+rw demo
37+
RUN mkdir demo && chmod -R ug+rw demo
2938

3039
# Copy and install demo code
3140
COPY demo/requirements.txt ./demo/requirements.txt
3241
RUN pip3 install --no-cache-dir -r demo/requirements.txt
42+
RUN pip3 install git+https://github.com/webpy/webpy.git
3343

3444
COPY demo ./demo
3545

0 commit comments

Comments
 (0)