Files
lair.moe/Dockerfile
T

15 lines
401 B
Docker
Raw Normal View History

2025-08-06 17:31:20 +03:00
FROM python:3.11-slim
RUN apt-get update && apt-get install -y curl && \
curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && \
apt-get install -y nodejs && \
2025-08-06 18:01:00 +03:00
NODE_OPTIONS=--dns-result-order=ipv4first npm install -g sass && \
2025-08-06 17:31:20 +03:00
apt-get clean && rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY . .
RUN pip install --no-cache-dir -r requirements.txt
2025-08-06 18:01:00 +03:00
CMD flask run --host 0.0.0.0