File size: 649 Bytes
6c2e259
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

# Submission will be executed with this image 
FROM huggingface/competitions:latest

# Default to running on train split only
ENV BATTERYSWAP_SPLITS=train
ENV BATTERYSWAP_SUBMISSION_PATH=submission.csv

WORKDIR /app

# NOTE: allowed requirements are specified by competition
# WARNING: Your customizations in requirements.txt will be ignored
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt

# Copy relevant files
# You can copy more in here, if needed
# (or just keep it under batteryswap_example/)
COPY batteryswap_example/ ./batteryswap_example
COPY script.py ./

# Default to making submissions
CMD python3 script.py