bookwyrm/dev-tools/Dockerfile

15 lines
404 B
Docker
Raw Normal View History

2022-02-12 22:06:18 +00:00
FROM python:3.9
WORKDIR /app
ENV PYTHONUNBUFFERED=1
ENV NPM_CONFIG_UPDATE_NOTIFIER=false
ENV PIP_ROOT_USER_ACTION=ignore PIP_DISABLE_PIP_VERSION_CHECK=1
COPY nodejs.sources /etc/apt/sources.list.d/
2022-02-15 20:25:35 +00:00
COPY package.json requirements.txt .stylelintrc.js .stylelintignore /app/
2022-02-12 22:06:18 +00:00
RUN apt-get update && \
apt-get install -y nodejs && \
pip install -r requirements.txt && \
npm install .