mirror of
https://github.com/gabrielkheisa/discord-active-developer-badge.git
synced 2024-11-24 20:33:33 +07:00
remove unecessary exposed port
This commit is contained in:
parent
5b41c99602
commit
a5234c7904
@ -22,8 +22,5 @@ WORKDIR /usr/src/app
|
|||||||
# Copy the built artifacts from the builder stage to the production stage
|
# Copy the built artifacts from the builder stage to the production stage
|
||||||
COPY --from=builder /usr/src/app .
|
COPY --from=builder /usr/src/app .
|
||||||
|
|
||||||
# Expose the port the app runs on
|
|
||||||
EXPOSE 3000
|
|
||||||
|
|
||||||
# Command to run the application in the production stage
|
# Command to run the application in the production stage
|
||||||
CMD ["node", "index.js"]
|
CMD ["node", "index.js"]
|
||||||
|
@ -46,7 +46,7 @@ docker build -t discord-badge .
|
|||||||
```
|
```
|
||||||
3. Run the container and insert your Discord bot token
|
3. Run the container and insert your Discord bot token
|
||||||
```bash
|
```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
|
4. Jump directly to step 12 and follow the remaining steps from the main instruction
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user