Skip to content

Commit

Permalink
fixed cairosvg installation in dockerfile, color -> colour (we are no…
Browse files Browse the repository at this point in the history
…t americans)
  • Loading branch information
aaj2005 committed Nov 11, 2024
1 parent c72e454 commit 57fba1e
Show file tree
Hide file tree
Showing 4 changed files with 325 additions and 305 deletions.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
FROM python:3.10 AS builder


RUN pip install --user pipenv

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

FROM python:3.10-slim AS runtime


WORKDIR /app

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

RUN apt-get update
RUN apt-get install -y python3-cairo

CMD [ "python", "apollo.py" ]
Loading

0 comments on commit 57fba1e

Please sign in to comment.