openscad-remote/Dockerfile

18 lines
370 B
Docker
Raw Permalink Normal View History

2021-08-18 09:11:52 +02:00
FROM python:buster
RUN apt update \
&& apt -y install openscad uwsgi uwsgi-plugin-python3 \
&& apt clean
WORKDIR /app
COPY requirements.txt /app/requirements.txt
RUN pip install -r requirements.txt \
&& rm -rf ~/.cache/pip/* \
&& mkdir -p /data/upload \
2021-08-26 23:13:28 +02:00
&& mkdir -p /data/build \
&& mkdir -p /data/temp
2021-08-18 09:11:52 +02:00
COPY . /app
ENTRYPOINT [ "uwsgi", "--ini", "uwsgi.ini" ]