add permissions

This commit is contained in:
s444417 2022-04-10 20:04:38 +02:00
parent a331832136
commit 46d1fc14a8
2 changed files with 4 additions and 3 deletions

View File

@ -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

View File

@ -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