This commit is contained in:
1 parent
35dc35815b
commit
e60cbc3da3
8 files changed
+291
No files matched your search
@@ -0,0 +1,24 @@
|
||||
FROM python:3.12-slim-bookworm
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
postgresql-client \
|
||||
ca-certificates \
|
||||
tzdata \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY requirements.txt .
|
||||
RUN python -m pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY sync.sh /usr/local/bin/sync.sh
|
||||
COPY entrypoint.py /usr/local/bin/entrypoint.py
|
||||
RUN chmod +x /usr/local/bin/sync.sh /usr/local/bin/entrypoint.py
|
||||
|
||||
ENV TZ=Europe/Brussels
|
||||
ENV SOURCE_DB_URL=""
|
||||
ENV DEST_DB_URL=""
|
||||
ENV CRON=""
|
||||
ENV ON_STARTUP=true
|
||||
|
||||
ENTRYPOINT ["/usr/local/bin/entrypoint.py"]
|
||||
Reference in new issue
Block a user