tuna2134
commited on
Commit
•
189a8a0
1
Parent(s):
73b5079
fix
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
@@ -1,8 +1,10 @@
|
|
1 |
FROM python:3
|
2 |
|
3 |
-
COPY . .
|
4 |
-
|
5 |
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
|
|
6 |
RUN pip install --no-cache-dir -r requirements.txt
|
7 |
|
|
|
|
|
8 |
CMD ["python3", "app.py"]
|
|
|
1 |
FROM python:3
|
2 |
|
3 |
+
COPY requirements.txt .
|
|
|
4 |
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
5 |
+
ENV PATH="/root/.cargo/bin:${PATH}"
|
6 |
RUN pip install --no-cache-dir -r requirements.txt
|
7 |
|
8 |
+
COPY . .
|
9 |
+
|
10 |
CMD ["python3", "app.py"]
|