Skip to content

Conversation

@manesec
Copy link

@manesec manesec commented Sep 9, 2023

Hi, Here is a simple Dockerfile for build your project ;)

docker build -t pomjs .
docker run --rm -p 9000:80 pomjs

Thank you

@joho1968
Copy link
Owner

I'm somewhat confused (that happens a lot with me and Docker) ... what's the purpose of having a really simple HTML/JS "app" in a Docker container? I mean, installing Nginx or Apache by itself, and then throwing POMjs into the /var/www/html (or whatever the default is) directory, is about as much of an effort. No? 🤔

@manesec
Copy link
Author

manesec commented Sep 12, 2023

Yes, you're right, but In fact, someone want to deploy services which like "all in one" system ( like home nas system), they usually use docker not any apache or nginx (they probably don't even know how to deploy nginx, at least I've seen a lot of them using docker with command or clicking GUI😄).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants