From 6048df20babd552c879b2f85da58f798c668e619 Mon Sep 17 00:00:00 2001 From: Elia el Lazkani Date: Sat, 20 Jan 2024 12:34:55 +0100 Subject: [PATCH] chore(): Migrate container to alpine and remove old, uneeded code --- Dockerfile | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index ea985b3..37f8e8d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,6 @@ -FROM python:3.12.1 +FROM python:3.9.18-alpine3.19 -RUN apt-get update && \ - apt-get install -y emacs git && \ - apt-get autoclean && \ +RUN apk update && \ + apk upgrade && \ pip install 'Nikola[extras]' && \ - pip install 'markdown' && \ - mkdir -p ~/.emacs.d/.local/straight/build && \ - git clone https://github.com/hniksic/emacs-htmlize.git ~/.emacs.d/.local/straight/build/htmlize + rm -vrf /var/cache/apk/*