11 lines
293 B
Docker
11 lines
293 B
Docker
# syntax=docker/dockerfile:1
|
|
FROM python:3
|
|
ENV PYTHONDONTWRITEBYTECODE=1
|
|
ENV PYTHONUNBUFFERED=1
|
|
WORKDIR /app
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
RUN apt update && apt install -y gettext && rm -rf /var/lib/apt/lists/*
|
|
COPY requirements.txt /app/
|
|
RUN pip install -r requirements.txt
|
|
COPY . /app/
|