Skip to content

Commit

Permalink
Update Docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
kmille committed Mar 5, 2024
1 parent 323b47c commit 5ec128e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 28 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.11-alpine3.18 AS builder
FROM python:3.11-alpine3.19 AS builder
RUN pip install poetry
COPY . /app
WORKDIR /app
Expand Down
7 changes: 7 additions & 0 deletions deployment/docker/create-docker-image.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash
set -eu

VERSION="v$(poetry version -s)"
echo sudo docker build --no-cache --force-rm . --file Dockerfile --tag kmille2/deezer-downloader
echo sudo docker tag kmille2/deezer-downloader "kmille2/deezer-downloader:$VERSION"
echo sudo docker tag kmille2/deezer-downloader kmille2/deezer-downloader:latest
27 changes: 0 additions & 27 deletions deployment/docker/update-base-image.sh

This file was deleted.

0 comments on commit 5ec128e

Please sign in to comment.