init
This commit is contained in:
16
darkbazaar/Dockerfile.cleaner
Executable file
16
darkbazaar/Dockerfile.cleaner
Executable file
@@ -0,0 +1,16 @@
|
||||
FROM python:3.10-slim-bookworm
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY src/ ./src/
|
||||
COPY docker-entrypoint.sh /usr/local/bin/
|
||||
RUN chmod +x /usr/local/bin/docker-entrypoint.sh
|
||||
|
||||
# Install cron
|
||||
RUN apt-get update && apt-get install -y cron procps dash
|
||||
|
||||
ENTRYPOINT ["docker-entrypoint.sh"]
|
||||
CMD ["cron", "-f"]
|
||||
Reference in New Issue
Block a user