Skip to content

Instantly share code, notes, and snippets.

View Dockerfile
FROM ubuntu:latest
MAINTAINER speedy
RUN apt-get -y update && apt-get install -y --no-install-recommends \
wget \
python3 \
nginx \
ca-certificates \
&& rm -rf /var/lib/apt/lists/*
View predictor.py
# -*- coding: utf-8 -*-
"""
Created on Mon Dec 30 10:32:40 2019
@author: naresh.gangiredd
"""
import os
import json
from sklearn.externals import joblib
import flask