From 298d1c3a53669246f63d0a708fbbafa94de02fd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Alejandro=20Marug=C3=A1n?= Date: Fri, 23 Aug 2024 15:55:43 +0200 Subject: [PATCH] feat: move to alpine base image --- Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0ddd1ae..49f2afc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,14 +1,15 @@ ARG PYTHON_VERSION=3.12.5 -FROM python:${PYTHON_VERSION} +FROM python:${PYTHON_VERSION}-alpine LABEL maintainer="Iván Alejandro Marugán " \ description="Bitbucket Bot for Google Chat" COPY app /app -COPY requirements.txt /requirements.txt +COPY Pipfile* / -RUN pip install -r /requirements.txt +RUN pip install pipenv && \ + pipenv sync --system WORKDIR /app