Spaces:
Build error
Build error
Create Dockerfile
Browse files- Dockerfile +26 -0
Dockerfile
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM selenium/standalone-chrome:latest
|
2 |
+
|
3 |
+
RUN apt-get update && apt-get install -y --no-install-recommends \
|
4 |
+
# build-essential \
|
5 |
+
git \
|
6 |
+
python3 \
|
7 |
+
# python3-dev \
|
8 |
+
# python3-numpy \
|
9 |
+
python3-pip \
|
10 |
+
# python3-setuptools \
|
11 |
+
openssl \
|
12 |
+
# libffi-dev \
|
13 |
+
# libssl-dev \
|
14 |
+
# python3-wheel \
|
15 |
+
&& rm -rf /var/lib/apt/lists/*
|
16 |
+
|
17 |
+
COPY requirements.txt .
|
18 |
+
RUN pip3 install -r requirements.txt
|
19 |
+
RUN pip3 list
|
20 |
+
|
21 |
+
WORKDIR /app
|
22 |
+
COPY . /app
|
23 |
+
|
24 |
+
EXPOSE 7860
|
25 |
+
|
26 |
+
ENTRYPOINT ["python3", "main.py"]
|