ci: add docker-build

This commit is contained in:
2025-08-06 18:01:00 +03:00
committed by Sweetbread
parent 8c75448836
commit cfd81884db
2 changed files with 35 additions and 2 deletions
+2 -2
View File
@@ -3,7 +3,7 @@ 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 && \
npm install -g sass && \
NODE_OPTIONS=--dns-result-order=ipv4first npm install -g sass && \
apt-get clean && rm -rf /var/lib/apt/lists/*
WORKDIR /app
@@ -11,4 +11,4 @@ WORKDIR /app
COPY . .
RUN pip install --no-cache-dir -r requirements.txt
CMD flask run
CMD flask run --host 0.0.0.0