mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-30 05:21:08 +00:00
14 lines
352 B
Docker
14 lines
352 B
Docker
FROM python:3.9
|
|
|
|
ENV PYTHONUNBUFFERED 1
|
|
|
|
RUN mkdir /app
|
|
WORKDIR /app
|
|
|
|
COPY package.json requirements.txt .stylelintrc.js .stylelintignore /app/
|
|
RUN pip install -r requirements.txt
|
|
|
|
RUN apt-get update && apt-get install -y curl
|
|
RUN curl -sL https://deb.nodesource.com/setup_18.x | bash -
|
|
RUN apt-get install -y nodejs && apt-get clean
|
|
RUN npm install .
|