Skip to content

Instantly share code, notes, and snippets.

@gaborvecsei
Created March 15, 2020 09:23
Show Gist options
  • Save gaborvecsei/c0cfd1fb8e4e0dbcbeb0a8b8fa0fac64 to your computer and use it in GitHub Desktop.
Save gaborvecsei/c0cfd1fb8e4e0dbcbeb0a8b8fa0fac64 to your computer and use it in GitHub Desktop.
FROM python:3.6
# Install python requirements
COPY requirements.txt /requirements.txt
RUN pip install -r /requirements.txt
# Setup Docker entrypoint script
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
# Copy the trained model
COPY random_forest_model.pkl /random_forest_model.pkl
ENTRYPOINT ["/entrypoint.sh"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment