mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-13 20:31:00 +00:00
16 lines
313 B
Docker
16 lines
313 B
Docker
|
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 .
|