bookwyrm/dev-tools/Dockerfile

15 lines
335 B
Docker
Raw Normal View History

2022-02-12 22:06:18 +00:00
FROM python:3.9
ENV PYTHONUNBUFFERED 1
2022-02-16 20:53:18 +00:00
RUN mkdir /app
2022-02-12 22:06:18 +00:00
WORKDIR /app
2022-02-15 20:25:35 +00:00
COPY package.json requirements.txt .stylelintrc.js .stylelintignore /app/
2022-02-16 20:53:18 +00:00
RUN pip install -r requirements.txt
2022-02-12 22:06:18 +00:00
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 .