Actualizar Dockerfile

This commit is contained in:
2026-01-19 18:53:56 +00:00
parent bb769e3f70
commit 2ccb26715e

View File

@@ -10,18 +10,6 @@ RUN npm install
# Copy source code
COPY . .
# Build the application
# We use build args to inject environment variables if needed during build time
ARG VITE_API_URL
ARG VITE_APP_TITLE
ARG VITE_USER_ID
ARG VITE_USER_PRIVILEGIO
ENV VITE_API_URL=$VITE_API_URL
ENV VITE_APP_TITLE=$VITE_APP_TITLE
ENV VITE_USER_ID=$VITE_USER_ID
ENV VITE_USER_PRIVILEGIO=$VITE_USER_PRIVILEGIO
RUN npm run build
# Production stage