blackmistcode commited on
Commit
a8912e2
·
verified ·
1 Parent(s): 9af74c3

Fijar imagenes base a node 22.23.4 y python 3.12.15 (parches de seguridad)

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -1,7 +1,7 @@
1
  # syntax=docker/dockerfile:1
2
 
3
  # ---------- Stage 1: build del frontend (Vite + TS) ----------
4
- FROM node:22-slim AS frontend
5
  WORKDIR /build
6
  COPY frontend/package*.json frontend/
7
  RUN cd frontend && npm ci
@@ -14,7 +14,7 @@ COPY data/ data/
14
  RUN cd frontend && npm run build # emite /build/dist
15
 
16
  # ---------- Stage 2: runtime backend (FastAPI + uv) ----------
17
- FROM python:3.12-slim AS runtime
18
 
19
  # uv desde su imagen oficial (rápido y reproducible).
20
  COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
 
1
  # syntax=docker/dockerfile:1
2
 
3
  # ---------- Stage 1: build del frontend (Vite + TS) ----------
4
+ FROM node:22.23.4-slim AS frontend
5
  WORKDIR /build
6
  COPY frontend/package*.json frontend/
7
  RUN cd frontend && npm ci
 
14
  RUN cd frontend && npm run build # emite /build/dist
15
 
16
  # ---------- Stage 2: runtime backend (FastAPI + uv) ----------
17
+ FROM python:3.12.15-slim AS runtime
18
 
19
  # uv desde su imagen oficial (rápido y reproducible).
20
  COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/