lewish / asciiflow

ASCIIFlow
https://asciiflow.com
MIT License
4.64k stars 357 forks source link

feat: docker compose and dockerfile #249

Closed Sieboldianus closed 6 months ago

Sieboldianus commented 1 year ago

Hey, I added a (tested) docker-compose.yml and a Dockerfile, using multistage-build with nginx-alpine serving the final image.

This is basically following the workflow of the Github build and makes the final image pretty small (19.1 MB).

Note: Please squash commits

Sieboldianus commented 1 year ago

I noticed that the build process doesn't succeed in native Linux, but I successfully build it in WSL on Windows. This is not a problem of the dockerfile, rather something connected to the lockfile and specific pinned packages of the repository/master branch.

I did not push the image to docker.com, but can do if I would get an official Ok.