checkin status tool
This commit is contained in:
21
Dockerfile.event_registration
Normal file
21
Dockerfile.event_registration
Normal file
@ -0,0 +1,21 @@
|
||||
FROM python:3.10-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# 必要なパッケージをインストール
|
||||
RUN apt-get update && apt-get install -y \
|
||||
curl \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Python依存関係をインストール
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
# アプリケーションコードをコピー
|
||||
COPY . .
|
||||
|
||||
# スクリプトに実行権限を付与
|
||||
RUN chmod +x register_event_users.py
|
||||
|
||||
# デフォルトコマンド
|
||||
CMD ["python", "register_event_users.py", "--help"]
|
||||
Reference in New Issue
Block a user