~sirodoht/mataroa

ref: e41ccd0181757f64258e9cad93ade228687cb614 mataroa/Dockerfile -rw-r--r-- 452 bytes
e41ccd01Theodore Keloglou add dark mode 10 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM python:3.8.9
ENV PYTHONUNBUFFERED 1
RUN apt-get update && \
    apt-get install -y --no-install-recommends \
    swig \
    libssl-dev \
    dpkg-dev \
    netcat \
    && rm -rf /var/lib/apt/lists/*

COPY requirements.txt /code/
COPY requirements_dev.txt /code/
RUN pip install -U pip && pip install -Ur /code/requirements.txt && pip install -Ur /code/requirements_dev.txt

WORKDIR /code
COPY . /code/
RUN /code/manage.py collectstatic --noinput