Spaces:
Runtime error
Runtime error
File size: 414 Bytes
38e80c6 106b321 |
1 2 3 4 5 6 7 8 9 10 11 12 |
FROM python:3.11-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"] |