📝 Edit page
➕ Add page
Install
System packages
If using Debian or Ubuntu, then use apt
or apt-get
.
From my Generic example.
FROM ubuntu
RUN apt update && \
apt install -q -y git
Based on edx-platform Dockerfile:
FROM ubuntu
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y \
build-essential \
curl \
g++ \
gcc \
git \
git-core
If using Alphine Linux, use apk
.
Install project packages
Python
See Python app quickstart for more info.
COPY requirements.txt ./
RUN pip install -r requirements.txt
Node
See Node app quickstart for more info.
COPY package*.json ./
RUN npm install