Added python to navi
All checks were successful
Build and publish / Build Container (push) Successful in 1m39s

This commit is contained in:
2026-03-01 18:48:20 -05:00
parent 1d68638e69
commit c5c070ebc2
2 changed files with 6 additions and 3 deletions

View File

@@ -1,4 +1,3 @@
FROM node:22-slim
ENV PORT=80
@@ -6,6 +5,10 @@ ENV PORT=80
WORKDIR /app
COPY . .
RUN npm ci
RUN apt-get update && apt-get install -y --no-install-recommends libpython3.11 python3 python3-pip && \
npm ci && rm -rf /root/.npm/* /root/.cache/* /tmp/* /var/lib/apt/lists/* && \
echo 'alias sudo=""' >> /root/.bashrc && \
echo 'alias pip="pip3"' >> /root/.bashrc && \
echo 'alias python="python3"' >> /root/.bashrc
CMD ["npm", "run", "start"]