All checks were successful
Build and Run VSTU Schedule Parser / build_and_run (push) Successful in 18s
6 lines
291 B
Docker
6 lines
291 B
Docker
FROM python:3.11-slim
|
|
WORKDIR /app
|
|
COPY requirements.txt .
|
|
RUN pip install --no-cache-dir --upgrade pip && pip install --no-cache-dir -r requirements.txt
|
|
COPY . .
|
|
CMD ["sh", "-c", "while true; do echo '[sh] starting script...'; python -u main.py; echo '[sh] sleeping 900s'; sleep 900; done"] |