Sign inSign up

hccz95/django

By hccz95

•Updated over 2 years ago

Image
0

96

hccz95/django repository overview

FROM ubuntu:20.04

# RUN ./replace-mirrors.sh

RUN apt update && \
    DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends \
        git nano wget build-essential npm net-tools && \
    npm install -g pm2 && \
    apt-get clean && rm -rf /var/lib/apt/lists/*

# 安装miniconda
ARG CONDA_PATH=/root/miniconda3
ARG PATH=$CONDA_PATH/bin:$PATH
ARG CONDA_URL=https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-aarch64.sh
RUN wget --quiet --no-check-certificate $CONDA_URL -O miniconda.sh && \
    bash miniconda.sh -b -p $CONDA_PATH && \
    rm miniconda.sh && \
    conda init

RUN conda create -n django python=3.8 -y
SHELL ["conda", "run", "-n", "django", "/bin/bash", "-c"]
RUN pip install --no-cache-dir \
        flask \
        flask-cors \
        django==4.0.1 \
        djangorestframework \
        numpy==1.21 \
        pandas \
        GitPython \
        pm2mp \
        pandas \
        requests

Tag summary

Content type

Image

Digest

sha256:e77d9f25a…

Size

551.1 MB

Last updated

over 2 years ago

docker pull hccz95/django:aarch64