push image to docker hub
$ docker push <hub-user>/<repo-name>:<tag>
push image to docker hub
$ docker push <hub-user>/<repo-name>:<tag>
docker scikit
# Use an official Python runtime as a parent image
FROM python:3.6-slim
# Set the working directory 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 pip install -r requirements.txt
# Define environment variable
ENV NAME World
EXPOSE 5003
# Run app.py when the container launches
CMD ["python", "app.py"]
# requirements.txt
Flask==1.0
numpy
scipy
scikit-learn
pandas
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us