trying to reduce image size
Some checks failed
Workflow de prueba / Build and push images (push) Failing after 35s

This commit is contained in:
Guillermo
2026-02-15 11:11:36 +00:00
parent 47070f71db
commit b6dc8485c0

View File

@@ -35,11 +35,11 @@ RUN apk add --no-cache libstdc++ && \
COPY --from=builder /app/.venv /app/.venv
# Copiar código
COPY --chown=appuser:appuser ./src ./src
COPY --chown=appuser:appuser ./main.py* ./app.py* ./
COPY --chown=appuser:appuser ./backend ./backend
#COPY --chown=appuser:appuser ./main.py* ./app.py* ./
USER appuser
EXPOSE 8000
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
CMD ["uvicorn", "beyond_api.main:app", "--host", "0.0.0.0", "--port", "8000"]