diff --git a/compose.yaml b/compose.yaml index 4d7af0d..7a13dc2 100644 --- a/compose.yaml +++ b/compose.yaml @@ -1,6 +1,9 @@ services: nodejs-app: - build: . + image: node:latest + working_dir: /usr/src/app volumes: - .:/usr/src/app - command: sh -c "npm install && npx nodemon" \ No newline at end of file + command: sh -c "npm install && npx nodemon" + ports: + - "3000:3000" \ No newline at end of file