Spaces:
Runtime error
Runtime error
FROM python:3.9-slim | |
WORKDIR /usr/src/app | |
RUN apt-get update && apt-get install -y --no-install-recommends gnupg curl | |
RUN curl -sL https://deb.nodesource.com/setup_18.x | bash - && \ | |
apt-get install -y nodejs | |
RUN apt-get clean && rm -rf /var/lib/apt/lists/* | |
COPY requirements.txt ./ | |
RUN pip install --no-cache-dir -r requirements.txt | |
COPY package.json ./ | |
RUN npm install | |
COPY . . | |
CMD ["python", "./server.py"] |