Commit e0b34b84 authored by Cédric Crettaz's avatar Cédric Crettaz 🖥
Browse files

Upload New File.

parent 1548518d
FROM python:3.7
MAINTAINER Juan Manuel Fernandez Montenegro <juan.fernandez@aimen.es>
# This prevents Python from writing out pyc files
#ENV PYTHONDONTWRITEBYTECODE 1
# This keeps Python from buffering stdin/stdout
#ENV PYTHONUNBUFFERED 1
# install build utilities
RUN apt-get update && apt-get install -y gcc make apt-transport-https ca-certificates build-essential
# check our python environment
RUN python3 --version
RUN pip3 --version
# set the working directory for containers
WORKDIR /usr/src/WaterQualityPrediction
# Installing python dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy all the files from the project's root to the working directory
COPY waterQualityForecast.py ./waterQualityForecast.py
COPY models/ ./models/
#RUN ls -la /WaterQualityPredictions/*
# Running Python Application
CMD ["python3","waterQualityForecast.py"]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment