2022-04-03 12:24:05 +02:00
|
|
|
FROM ubuntu:latest
|
|
|
|
|
2022-04-10 19:55:37 +02:00
|
|
|
FROM tensorflow/tensorflow:latest
|
|
|
|
|
2022-04-03 12:24:05 +02:00
|
|
|
RUN apt update && apt install -y
|
|
|
|
RUN apt-get install -y python3
|
|
|
|
RUN apt-get install -y unzip
|
|
|
|
RUN apt-get install -y python3-pip
|
|
|
|
|
2022-04-10 19:55:37 +02:00
|
|
|
# RUN python3 -m pip install kaggle
|
2022-04-06 17:41:58 +02:00
|
|
|
RUN python3 -m pip install pandas
|
2022-04-03 12:24:05 +02:00
|
|
|
|
2022-04-06 18:55:31 +02:00
|
|
|
# RUN ln -s ~/.local/bin/kaggle /usr/bin/kaggle
|
2022-04-03 13:07:39 +02:00
|
|
|
|
2022-04-03 12:24:05 +02:00
|
|
|
WORKDIR /app
|
|
|
|
|
2022-04-10 19:55:37 +02:00
|
|
|
COPY . .
|
2022-04-10 21:33:39 +02:00
|
|
|
# RUN sed 's/\r$//' ./startscript1.sh
|
|
|
|
# RUN sed 's/\r$//' ./runPythonScripts.sh
|
|
|
|
# RUN chmod -R 777 ../app
|
2022-04-10 20:31:44 +02:00
|
|
|
RUN ls -la >> permissions.txt
|
2022-04-10 19:55:37 +02:00
|
|
|
# COPY ./Participants_Data_HPP ./Participants_Data_HPP
|
|
|
|
# COPY ./startscript1.sh ./
|
|
|
|
# COPY ./src/task1python.py ./src/task1python.py
|
|
|
|
# COPY ./src/pythonTest.py ./src/pythonTest.py
|
|
|
|
# COPY ./src/trainScript.py ./src/trainScript.py
|
|
|
|
# COPY ./runPythonScript.sh ./runPythonScript.sh
|
|
|
|
|
2022-04-10 21:37:54 +02:00
|
|
|
RUN chmod o+w ./startscript1.sh
|
2022-04-10 19:55:37 +02:00
|
|
|
# RUN chmod +x ./src/task1python.py
|
2022-04-10 21:37:54 +02:00
|
|
|
RUN chmod o+w /app/runPythonScript.sh
|
2022-04-06 17:41:58 +02:00
|
|
|
|
2022-04-10 19:55:37 +02:00
|
|
|
# FROM tensorflow/tensorflow:latest
|
2022-04-06 19:06:58 +02:00
|
|
|
|
2022-04-10 20:19:13 +02:00
|
|
|
# RUN ./startscript1.sh
|