Fix formatting in docs (#5842)

This commit is contained in:
mamoodi 2024-12-26 20:06:27 -05:00 committed by GitHub
parent 500598666e
commit df82202178
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -176,24 +176,20 @@ Guidelines:
Examples:
1. Creating a Dockerfile:
```dockerfile
FROM node:18-alpine
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
CMD ["npm", "start"]
```
2. Docker Compose usage:
```yaml
version: '3'
services:
web:
build: .
ports:
- "3000:3000"
```
Remember to:
- Validate Dockerfile syntax