demo-frontend/Dockerfile

12 lines
323 B
Docker

FROM node:20
RUN mkdir /app
WORKDIR /app
COPY . .
RUN chmod 755 -R *
RUN npm install
EXPOSE 5173
# Change the CMD to see what's in the directory when it starts
#CMD ["sh", "-c", "ls -la && pwd && echo '---' && npm run dev -- --host 0.0.0.0"]
#CMD ["sleep","infinity"]
#CMD ["npm", "run", "dev", "--", "--host", "0.0.0.0"]