Issue having files go into appdata folder


entree3000

Recommended Posts

So I am not a programmer my programming experience is very basic. I found source code for an app and wanted to use it on unraid. I tweaked the settings to allow for the python file to use a config file for data entry. I make a dockerfile and tested it on the Docker desktop everything works. However when I got it on the unraid app store and installed it the appdata folder is empty. I have no clue what is the issue I've searched everywhere online and compared others dockerfiles to mine to find the issue, but can't.

 

FROM python:3.9-alpine

ADD requirements.txt /
ADD config.ini /
RUN pip install -r requirements.txt

ADD main.py /

VOLUME /config

CMD [ "python3", "./main.py" ]

 

I wrote this code reading a docker tutorial so forgive me if it is completely wrong, but I would love to learn and figure this out any help is greatly appreciated.

Link to comment
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.