# Use an official Ubuntu image.
# https://hub.docker.com/_/ubuntu
FROM ubuntu:latest

# Set the working directory in the container to /app
WORKDIR /app

# Copy the current directory contents into the container at /app
ADD . /app

# Install any needed packages specified in requirements.txt
RUN apt-get update && apt-get install -y \
    cargo \
    && rm -rf /var/lib/apt/lists/*

# Run regen-readme.sh when the container launches
CMD ["sh", "./shell/regen-readme.sh"]