2025-10-22 15:39:43 +01:00

21 lines
450 B
Docker

FROM python:3.13-bookworm
RUN useradd -m django
RUN apt update -y && apt upgrade -y
RUN wget https://nodejs.org/dist/v22.21.0/node-v22.21.0-linux-x64.tar.xz
RUN tar -xvf node-v22.21.0-linux-x64.tar.xz
RUN cp -r node-v22.21.0-linux-x64/* /usr/local
WORKDIR /app
COPY requirements.txt requirements.txt
RUN pip install -r requirements.txt
EXPOSE 8000
#COPY --chown=django . .
COPY . .
#USER django:django
ENTRYPOINT ["/bin/bash", "entrypoint.sh"]