From bc044a10c930bbbeecb48fcccaa86a6b85aa0e63 Mon Sep 17 00:00:00 2001 From: husbando_enjoyer Date: Sun, 28 Dec 2025 11:01:55 +0100 Subject: [PATCH] Change base images --- backend/Dockerfile | 4 ++-- frontend/Dockerfile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/backend/Dockerfile b/backend/Dockerfile index bd6c2c7..dc40fc3 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.11-slim AS builder +FROM docker.io/library/python:3.11-slim AS builder WORKDIR /build RUN apt-get update && apt-get install -y --no-install-recommends \ @@ -9,7 +9,7 @@ COPY requirements.txt . RUN pip wheel --no-cache-dir --no-deps -r requirements.txt -w /build/wheels -FROM python:3.11-slim +FROM docker.io/library/python:3.11-slim WORKDIR /app # ---- Build args (desde Jenkins) ---- diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 58ea81b..b453d1b 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -1,4 +1,4 @@ -FROM node:20-slim AS build +FROM docker.io/library/node:20-slim AS build WORKDIR /app COPY package*.json ./ ARG VITE_API_BASE @@ -7,7 +7,7 @@ RUN npm install --no-progress COPY . . RUN npm run build -FROM nginx:1.27-alpine AS final +FROM docker.io/library/nginx:1.27-alpine AS final COPY nginx.conf /etc/nginx/conf.d/default.conf COPY --from=build /app/dist /usr/share/nginx/html/taller EXPOSE 8081