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 tools
|
||||||
node_modules/
|
node_modules/
|
||||||
|
package-lock.json
|
||||||
|
yarn.lock
|
||||||
|
|
||||||
#nginx
|
#nginx
|
||||||
nginx/default.conf
|
nginx/default.conf
|
||||||
|
|
|
@ -2,12 +2,11 @@ FROM python:3.9
|
||||||
|
|
||||||
ENV PYTHONUNBUFFERED 1
|
ENV PYTHONUNBUFFERED 1
|
||||||
|
|
||||||
RUN mkdir /app /app/static /app/images
|
RUN mkdir /app
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY package.json requirements.txt .stylelintrc.js .stylelintignore /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 apt-get update && apt-get install -y curl
|
||||||
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash -
|
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash -
|
||||||
|
|
Loading…
Reference in a new issue