Files
navi/Dockerfile
ztimson 8c2b80951b
All checks were successful
Build and publish / Build Container (push) Successful in 1m41s
Styling improvment
2026-03-02 02:49:15 -05:00

16 lines
431 B
Docker

FROM node:22-slim
ENV PORT=80
WORKDIR /app
COPY . .
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
WORKDIR /tmp
CMD ["npm", "run", "start"]