gawa/docker/main/Dockerfile

13 lines
396 B
Docker
Raw Permalink 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-27 23:10:49 +02:00
RUN mkdir -p /app/static
RUN pygmentize -S nord -f html -a .codehilite > /app/static/codehighlight.css