ium_464863/Dockerfile

29 lines
556 B
Docker

# Base image
FROM ubuntu:latest
# Install python and pip
RUN apt-get update && apt-get install -y \
python3 \
python3-pip
# Copy the requirements.txt file to the working directory
COPY requirements.txt ./
# Install the required Python packages form requirements.txt
RUN pip3 install -r requirements.txt
# Set the working directory
WORKDIR /app
# Copy scripts to the working directory
# Python scripts
COPY download_dataset.py ./
COPY get_stats.py ./
# Bash scripts
COPY download_dataset.sh ./
COPY get_stats.sh ./
# Default command
CMD bash