Generate Excel file step 1

This commit is contained in:
hayano
2024-11-06 07:22:24 +00:00
parent a714557eef
commit ceb783d6bd
6 changed files with 146 additions and 52 deletions

View File

@ -9,6 +9,12 @@ services:
- ..:/app
environment:
- PYTHONPATH=/app
command: python ./testdata/sample.py
- POSTGRES_DB=rogdb
- POSTGRES_USER=admin
- POSTGRES_PASSWORD=admin123456
- POSTGRES_HOST=localhost
- POSTGRES_PORT=5432
network_mode: "host"
tty: true
container_name: python_container # コンテナ名を明示的に指定

View File

@ -4,7 +4,7 @@ WORKDIR /app
# GPGキーの更新とパッケージのインストール
RUN apt-get update --allow-insecure-repositories && \
apt-get install -y --allow-unauthenticated python3-dev libpq-dev && \
apt-get install -y --allow-unauthenticated python3-dev libpq-dev postgresql-client && \
rm -rf /var/lib/apt/lists/*
# Pythonパッケージのインストール