From a5234c79041ff7360139db7a6c2a748ac24498b7 Mon Sep 17 00:00:00 2001 From: gabrielkheisa Date: Sun, 7 Apr 2024 17:23:48 +0700 Subject: [PATCH] remove unecessary exposed port --- Dockerfile | 3 --- README.md | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9352058..b2297f3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,8 +22,5 @@ WORKDIR /usr/src/app # Copy the built artifacts from the builder stage to the production stage COPY --from=builder /usr/src/app . -# Expose the port the app runs on -EXPOSE 3000 - # Command to run the application in the production stage CMD ["node", "index.js"] diff --git a/README.md b/README.md index 2840c06..c0bdda6 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ docker build -t discord-badge . ``` 3. Run the container and insert your Discord bot token ```bash -docker run -it -p 3000:3000 discord-badge +docker run -it discord-badge ``` 4. Jump directly to step 12 and follow the remaining steps from the main instruction