Skip to content

Commit 57fba1e

Browse files
committed
fixed cairosvg installation in dockerfile, color -> colour (we are not americans)
1 parent c72e454 commit 57fba1e

File tree

4 files changed

+325
-305
lines changed

4 files changed

+325
-305
lines changed

Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
FROM python:3.10 AS builder
22

3+
34
RUN pip install --user pipenv
45

56
# Tell pipenv to create venv in the current directory
@@ -21,6 +22,7 @@ RUN echo $(date -Is) >> .version
2122

2223
FROM python:3.10-slim AS runtime
2324

25+
2426
WORKDIR /app
2527

2628
# copy venv into runtime
@@ -40,4 +42,7 @@ COPY . /app
4042
# build default alembic config into container, we rarely want to change this
4143
RUN /bin/bash -c 'if [[ ! -f alembic.ini ]]; then mv alembic.example.ini alembic.ini; fi'
4244

45+
RUN apt-get update
46+
RUN apt-get install -y python3-cairo
47+
4348
CMD [ "python", "apollo.py" ]

0 commit comments

Comments
 (0)