Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +4 -7
Dockerfile
CHANGED
@@ -26,12 +26,9 @@ RUN apt-get update \
|
|
26 |
&& pip3 --no-cache-dir install --upgrade pip \
|
27 |
&& rm -rf /var/lib/apt/lists/*
|
28 |
|
29 |
-
|
|
|
30 |
|
31 |
-
COPY
|
32 |
-
RUN python -m pip install -r /app/requirements.txt
|
33 |
|
34 |
-
|
35 |
-
COPY aberconnect.sh /app
|
36 |
-
RUN chmod +x aberconnect.sh
|
37 |
-
ENTRYPOINT ["./aberconnect.sh"]
|
|
|
26 |
&& pip3 --no-cache-dir install --upgrade pip \
|
27 |
&& rm -rf /var/lib/apt/lists/*
|
28 |
|
29 |
+
COPY requirements.txt .
|
30 |
+
RUN python -m pip install -r requirements.txt
|
31 |
|
32 |
+
COPY main.py .
|
|
|
33 |
|
34 |
+
CMD ["python", "main.py"]
|
|
|
|
|
|