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-27 20:45:30 +02:00
|
|
|
# RUN ls -la /app/ ; return 1
|
|
|
|
# RUN python /app/manage.py collectstatic --noinput
|