saya / Dockerfile
Dragonnext's picture
Create Dockerfile
106b321 verified
raw
history blame
413 Bytes
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"]