from the bpmn-examples I want to run the custom-elements example in a docker container. For that I already installed docker in my Linux-OS and I have created a Dockerfile and docker-compose.yml
Dockerfile looks as follows:
FROM node:latest WORKDIR /usr/src/app ADD . . COPY package.json . COPY Gruntfile.js . COPY .babelrc . COPY .gitignore . COPY .npmrc . RUN npm install COPY . /usr/src/app COPY . ./ # replace this with your application's default port EXPOSE 8000 CMD [ "npm", "run dev" ]
and docker-compose.yml looks as this:
version: "2" services: web: build: . # command: nodemon -L --inspect=0.0.0.0:5858 volumes: - .:/code ports: - "8000:8000" # - "5858:5858"
are the files correct? In Gruntfile.js I have set the port to 8000, therefore I did the same in the docker files. How can I start the docker-container, if they are correct ? It should finally be reachable on: localhost:8000. This is my first try with docker, so I am absolutely beginner with it.
Thanks in advance