X commited on
Commit
5f03488
·
verified ·
1 Parent(s): 252256f

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +12 -0
Dockerfile ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10-slim
2
+
3
+ RUN apt-get update && apt-get install -y curl && \
4
+ curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && \
5
+ apt-get install -y nodejs && \
6
+ npm install -g peer
7
+
8
+ WORKDIR /app
9
+ COPY requirements.txt .
10
+ RUN pip install --no-cache-dir -r requirements.txt
11
+ COPY app.py .
12
+ CMD ["python", "app.py"]