forked from mirrors/bookwyrm
Gets prettier command working
This commit is contained in:
parent
55177990e3
commit
1412fa507c
5 changed files with 5 additions and 4 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -25,6 +25,8 @@
|
|||
|
||||
#Node tools
|
||||
node_modules/
|
||||
package-lock.json
|
||||
yarn.lock
|
||||
|
||||
#nginx
|
||||
nginx/default.conf
|
||||
|
|
|
@ -2,12 +2,11 @@ FROM python:3.9
|
|||
|
||||
ENV PYTHONUNBUFFERED 1
|
||||
|
||||
RUN mkdir /app /app/static /app/images
|
||||
|
||||
RUN mkdir /app
|
||||
WORKDIR /app
|
||||
|
||||
COPY package.json requirements.txt .stylelintrc.js .stylelintignore /app/
|
||||
RUN pip install black
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
RUN apt-get update && apt-get install -y curl
|
||||
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash -
|
||||
|
|
|
@ -88,7 +88,7 @@ services:
|
|||
build: dev-tools
|
||||
env_file: .env
|
||||
volumes:
|
||||
- .:/app
|
||||
- .:/app
|
||||
volumes:
|
||||
pgdata:
|
||||
static_volume:
|
||||
|
|
Loading…
Reference in a new issue