Team Ai
Apppublic

jbilcke-hf/template-node-python-express

sourceHugging Faceupdated 3y agoView on Hugging Face
2likes
Dockerfile32 linesDownload Raw Back to root
1FROM python:latest2 3ENV PYTHONUNBUFFERED 14 5EXPOSE 78606 7RUN apt update8 9RUN apt install curl10 11RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash -12 13RUN apt install nodejs14 15RUN useradd -m -u 1000 user16USER user17ENV HOME=/home/user \18	PATH=/home/user/.local/bin:$PATH19 20WORKDIR $HOME/app21 22COPY --chown=user package*.json .23 24RUN npm install25 26COPY requirements.txt ./27RUN pip install --upgrade pip && \28    pip install -r requirements.txt29 30COPY --chown=user . .31 32CMD [ "npm", "run", "start" ]