Skip to content

Commit

Permalink
Updates dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
David Schowalter committed Jan 26, 2025
1 parent 407525f commit 14a98ea
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Use the builder image to install dependencies and fontconfig
FROM amd64/python:3.12-slim as builder
FROM python:3.12-slim AS builder

WORKDIR /app

Expand All @@ -14,7 +14,7 @@ COPY requirements.txt .
RUN pip3 install --no-cache-dir -r requirements.txt

# Start the final stage of the build
FROM amd64/python:3.12-slim
FROM python:3.12-slim

# Install fontconfig in the final image
RUN apt-get update && \
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ pip install -r requirements.txt
[http://127.0.0.1:5005/](http://127.0.0.1:5005/)
4. Build and push to docker hub
Run the build-and-ush-docker-image.sh.
You need to login via docker login -u ****
7 changes: 5 additions & 2 deletions build-and-push-docker-image.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
VERSION=1.4.1
VERSION=1.5.1

# Build the Docker image
docker build -t schowave/churchtools:$VERSION .
docker build --platform=linux/amd64 -t schowave/churchtools:$VERSION .

docker tag schowave/churchtools:$VERSION schowave/churchtools:latest

# Push the docker image
docker push schowave/churchtools:$VERSION
docker push schowave/churchtools:latest

0 comments on commit 14a98ea

Please sign in to comment.