This repository has been archived on 2020-04-29. You can view files and clone it, but cannot push or open issues/pull-requests.
namensschilder/Dockerfile

28 lines
509 B
Docker

FROM debian:testing-slim
RUN apt-get update \
&& apt-get -y install \
fonts-roboto \
inkscape \
nodejs \
npm \
openscad \
pstoedit \
python3 \
python3-pip \
&& rm -rf /var/lib/apt/lists
WORKDIR /usr/src/app
COPY package.json .
COPY package-lock.json .
COPY requirements.txt .
RUN npm install \
&& pip3 install -r requirements.txt
RUN mkdir static
COPY . .
ENTRYPOINT ["gunicorn", "-w", "4", "-b", "0.0.0.0:8000", "server:app"]