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