Dragonnext commited on
Commit
106b321
·
verified ·
1 Parent(s): 17906f8

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +12 -0
Dockerfile ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.9-slim
2
+ WORKDIR /usr/src/app
3
+ RUN apt-get update && apt-get install -y --no-install-recommends gnupg curl
4
+ RUN curl -sL https://deb.nodesource.com/setup_18.x | bash - && \
5
+ apt-get install -y nodejs
6
+ RUN apt-get clean && rm -rf /var/lib/apt/lists/*
7
+ COPY requirements.txt ./
8
+ RUN pip install --no-cache-dir -r requirements.txt
9
+ COPY package.json ./
10
+ RUN npm install
11
+ COPY . .
12
+ CMD ["python", "./server.py"]