gawa/docker/main/Dockerfile

12 lines
343 B
Docker
Raw Normal View History

2023-05-29 02:21:31 +02:00
# syntax=docker/dockerfile:1
FROM python:3
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
WORKDIR /app
2023-05-29 23:14:47 +02:00
ENV DEBIAN_FRONTEND=noninteractive
RUN apt update && apt install -y gettext && rm -rf /var/lib/apt/lists/*
2023-05-29 02:21:31 +02:00
COPY requirements.txt /app/
RUN pip install -r requirements.txt
COPY . /app/
2023-09-26 22:51:25 +02:00
RUN python /app/manage.py collectstatic --noinput