From 109804fb8b3c54550b83d334e73fd6e768ffbb39 Mon Sep 17 00:00:00 2001 From: very-doge-wow <95224950+very-doge-wow@users.noreply.github.com> Date: Sun, 24 Mar 2024 17:11:51 +0100 Subject: [PATCH] refactor(Dockerfile): use alpine base image (#79) Co-authored-by: very-doge-wow --- Dockerfile | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index d58ece0..025ffb2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.12.2-slim +FROM python:3.12-alpine3.19 USER root @@ -7,11 +7,14 @@ WORKDIR app COPY reader ./reader/ COPY writer ./writer/ COPY stella.py Pipfile Pipfile.lock ./ +COPY EXAMPLE/style.css . -RUN pip install pipenv && \ - pipenv install --system --deploy && \ - chmod +x stella.py && \ - ln -s /app/stella.py /usr/local/bin/stella +RUN <