I’m trying to create an image and a container to run a small project locally in my Ubuntu 18.04 however, I’m encountering many difficulties to find where the generated files are after the image is created.
First, when creating the image and the container, I have no idea where the files will stop. How do I add or remove files manually if I want to do so after creating the image and the container?
My DOCKERFILE code is as follows:
COPY . /wd
RUN cd /wd && npm install && npm run build
COPY --from=0 /wd/dist /
RUN mkdir -p /data/student && mkdir -p /data/screen
CMD node /server
And, to run the image, I’m using the following command:
sudo docker run -d
Thanks for any help.