tinacms / tinasaurus

https://tinasaurus.vercel.app
169 stars 64 forks source link

docker #7

Open atar-axis opened 1 year ago

atar-axis commented 1 year ago

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?