From 46d1fc14a8df23fc42f37aa8d052a4466e455454 Mon Sep 17 00:00:00 2001 From: s444417 Date: Sun, 10 Apr 2022 20:04:38 +0200 Subject: [PATCH] add permissions --- Dockerfile | 1 + startscript1.sh | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3c9f4a0..1ac1e5c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,6 +17,7 @@ WORKDIR /app COPY . . RUN sed -i.bak 's/\r$//' ./startscript1.sh RUN sed -i.bak 's/\r$//' ./runPythonScripts.sh +RUN chmod -R 777 ../app # COPY ./Participants_Data_HPP ./Participants_Data_HPP # COPY ./startscript1.sh ./ # COPY ./src/task1python.py ./src/task1python.py diff --git a/startscript1.sh b/startscript1.sh index 40d2537..e90f362 100644 --- a/startscript1.sh +++ b/startscript1.sh @@ -1,8 +1,8 @@ #!/bin/sh # kaggle datasets download -d akash14/house-price-dataset unzip -o house-price-dataset.zip -echo $CUTOFF +# echo $CUTOFF -head -n $CUTOFF ./Participants_Data_HPP/Train.csv > data.txt -head -n $CUTOFF ./Participants_Data_HPP/Test.csv > dataTest.txt +# head -n $CUTOFF ./Participants_Data_HPP/Train.csv > data.txt +# head -n $CUTOFF ./Participants_Data_HPP/Test.csv > dataTest.txt ./runPythonScripts.sh