1
0
Fork 0

specify npm prefix and stylelint configs and adjust ignores

This commit is contained in:
Vivianne Langdon 2022-03-16 23:56:19 -07:00
parent 0617b9424b
commit dbd5a02617
6 changed files with 18 additions and 12 deletions

View file

@ -2,13 +2,14 @@ FROM python:3.9
ENV PYTHONUNBUFFERED 1
RUN mkdir /app
WORKDIR /app
WORKDIR /app/dev-tools
COPY package.json requirements.txt .stylelintrc.js .stylelintignore /app/
COPY package.json requirements.txt .stylelintrc.js .stylelintignore /app/dev-tools/
RUN pip install -r requirements.txt
RUN apt-get update && apt-get install -y curl
RUN curl -sL https://deb.nodesource.com/setup_17.x | bash -
RUN apt-get install -y nodejs && apt-get clean
RUN npm install .
WORKDIR /app