ium_464863/Dockerfile

32 lines
624 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 ./
COPY NeuralNetwork.py ./
COPY create_model.py ./
COPY predict.py ./
# Bash scripts
COPY download_dataset.sh ./
COPY get_stats.sh ./
# Default command
CMD bash