/ Dockerfile
Dockerfile
1 FROM node:12-alpine 2 3 ENV PYTHONUNBUFFERED 1 4 5 RUN mkdir /code 6 7 WORKDIR /code 8 9 RUN apk add --no-cache \ 10 python-dev \ 11 py-pip \ 12 postgresql-dev \ 13 gcc \ 14 curl \ 15 curl-dev \ 16 libcurl \ 17 musl-dev \ 18 libffi-dev \ 19 openldap-dev \ 20 ca-certificates \ 21 bash 22 23 RUN npm config set unsafe-perm true 24 RUN npm install -g \ 25 --registry https://registry.npmjs.org/ \ 26 coffeescript \ 27 less@1.3 28 29 RUN pip install --upgrade pip==20.3.4 30 31 COPY requirements.txt ./ 32 RUN pip install --no-cache-dir -r requirements.txt 33 34 COPY requirements-dev.txt ./ 35 RUN pip install --no-cache-dir -r requirements-dev.txt 36 37 COPY requirements-plugins.txt ./ 38 RUN pip install --no-cache-dir -r requirements-plugins.txt 39 40 ADD . /code/ 41 42 ENTRYPOINT ["./docker-entrypoint.sh"]