1
0
Fork 0

Adds dev tools docker image

This commit is contained in:
Mouse Reeve 2022-02-12 14:06:18 -08:00
parent 1a2c85a327
commit b601ac6f91
6 changed files with 26 additions and 6 deletions

View file

@ -0,0 +1,15 @@
FROM python:3.9
ENV PYTHONUNBUFFERED 1
RUN mkdir /app /app/static /app/images
WORKDIR /app
COPY package.json requirements.txt /app/
RUN pip install black
RUN apt-get update && apt-get install -y curl
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash -
RUN apt-get install -y nodejs
RUN npm install .

View file

@ -0,0 +1,17 @@
{
"scripts": {
"watch:static": "yarn watch \"./bw-dev collectstatic\" bookwyrm/static/**"
},
"devDependencies": {
"eslint": "^8.9.0",
"prettier": "2.5.1",
"stylelint": "^14.2.0",
"stylelint-config-standard": "^25.0.0",
"stylelint-order": "^5.0.0",
"watch": "^0.13.0"
},
"dependencies": {
"merge": "2.1.1",
"postcss": "^8.4.6"
}
}

View file

@ -0,0 +1 @@
black==21.4b2