Change base images

This commit is contained in:
2025-12-28 11:01:55 +01:00
parent 558a3198f4
commit bc044a10c9
2 changed files with 4 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
FROM python:3.11-slim AS builder FROM docker.io/library/python:3.11-slim AS builder
WORKDIR /build WORKDIR /build
RUN apt-get update && apt-get install -y --no-install-recommends \ 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 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 WORKDIR /app
# ---- Build args (desde Jenkins) ---- # ---- Build args (desde Jenkins) ----

View File

@@ -1,4 +1,4 @@
FROM node:20-slim AS build FROM docker.io/library/node:20-slim AS build
WORKDIR /app WORKDIR /app
COPY package*.json ./ COPY package*.json ./
ARG VITE_API_BASE ARG VITE_API_BASE
@@ -7,7 +7,7 @@ RUN npm install --no-progress
COPY . . COPY . .
RUN npm run build 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 nginx.conf /etc/nginx/conf.d/default.conf
COPY --from=build /app/dist /usr/share/nginx/html/taller COPY --from=build /app/dist /usr/share/nginx/html/taller
EXPOSE 8081 EXPOSE 8081