Comment on Tarallo - selfhostable FOSS Trello alternative
Turun@feddit.de 7 months agoA basic image is really easy. It’s basically just
Dockerfile
FROM debian # start with a minimal Linux system. There are probably better options than debian. Some images are made especially for docker (i.e. very minimal and light weight). RUN apt install dependencies # do what ever you need to get your app running. RUN echo "options and stuff" >> /etc/a/config/file # you can also edit system files COPY . /app # copy your project into the docker container. EXPOSE 8080 # doesn't actually do anything, but documents where the app will be listening CMD server-binary run /app/main.php # I have actually no idea how php server stuff works
(Docs docs.docker.com/reference/dockerfile/)
Then people can run your project with docker.
matteinim@feddit.it 7 months ago