diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..4dfda0c --- /dev/null +++ b/Dockerfile @@ -0,0 +1,23 @@ +FROM python:3.8-slim + +RUN export KAGGLE_USERNAME=${KAGGLE_USERNAME} +RUN export KAGGLE_KEY=${KAGGLE_KEY} +RUN echo $KAGGLE_KEY + +# Set the working directory to /app +WORKDIR /app + +# Copy the current directory contents into the container at /app +COPY requirements.txt /app/requirements.txt +COPY dataset.py /app/dataset.py + +RUN mkdir results + +# Install any needed packages specified in requirements.txt +RUN pip install --trusted-host pypi.python.org -r requirements.txt + +# Define environment variable +ENV NAME World + +# Run app.py when the container launches +CMD ["python", "dataset.py"] \ No newline at end of file