FROM python:3 | |
COPY requirements.txt . | |
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y | |
ENV PATH="/root/.cargo/bin:${PATH}" | |
RUN pip install --no-cache-dir -r requirements.txt | |
COPY . . | |
CMD ["python3", "app.py"] |
FROM python:3 | |
COPY requirements.txt . | |
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y | |
ENV PATH="/root/.cargo/bin:${PATH}" | |
RUN pip install --no-cache-dir -r requirements.txt | |
COPY . . | |
CMD ["python3", "app.py"] |