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

docker #7

Open
atar-axis opened this issue Jul 10, 2023 · 0 comments
Open

docker #7

atar-axis opened this issue Jul 10, 2023 · 0 comments

Comments

@atar-axis
Copy link

atar-axis commented Jul 10, 2023

Looks like I am too stupid to create the most simple Docker.
Maybe you can help me somehow?

I would just like to run it to have a look

FROM node:20-bookworm

WORKDIR /app

COPY . .

RUN npm install

EXPOSE 3000
EXPOSE 80

CMD ["npm", "run", "tina"]

I run it with -p "80:80" -p "3000:3000" but nothing happens at localhost:3000, why is that?

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

No branches or pull requests

1 participant