Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
naiades
naiades-platform-poc
Commits
64c70752
Commit
64c70752
authored
Aug 27, 2021
by
Cédric Crettaz
🖥
Browse files
Upload New File.
parent
b42de449
Changes
1
Show whitespace changes
Inline
Side-by-side
WaterQualityPredictions/models/fountains/Dockerfile
0 → 100644
View file @
64c70752
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"]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment