https://kotlinlang.org logo
#ktor
Title
# ktor
t

Tim Malseed

06/20/2021, 12:34 PM
Hey all, hopefully a simple one... (Edit: Solved) I'm trying to read a file:
Copy code
File("./srv/emails.txt")
The file is located at
project_root/srv/emails.txt
. But I get a
FileNotFoundException
when I call
readLines
on the file
Oh, actually I know why this is happening haha. Been trying to figure this out for about an hour, and as soon as I ask, I see it
I'm using docker, and I forgot to use a volume mount to ensure this folder is accessible in the docker container