postgres shadow
Build and Push Docker Images / build-and-push (push) Failing after 22s

This commit is contained in:
2025-05-21 20:54:15 +02:00
parent c8ec96d448
commit 4e237f1737
2 changed files with 45 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
FROM postgres:15
# Install additional tools
RUN apt-get update && apt-get install -y \
postgresql-client \
&& rm -rf /var/lib/apt/lists/*
# Create directory for scripts
RUN mkdir -p /docker-entrypoint-initdb.d
# Copy initialization script
COPY init.sh /docker-entrypoint-initdb.d/
RUN chmod +x /docker-entrypoint-initdb.d/init.sh
# Environment variables
ENV SOURCE_DB_URL=""
ENV TARGET_DB_NAME="shadow_db"
# Expose PostgreSQL port
EXPOSE 5432