Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Dockerfile #8

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Add Dockerfile #8

wants to merge 1 commit into from

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