Skip to content

Commit 064c9ab

Browse files
committed
README: update
1 parent 30ff0ed commit 064c9ab

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,13 @@ Applications (SPA).
1212
## Usage
1313

1414
```
15-
Usage: serve [options] [<work-dir>]
15+
dead-simple application that serves static files from the current directory
16+
Usage: serve-go [options] [<work-dir>]
1617
1718
Options:
18-
* -listen: Port to listen to (default 3000)
19-
* <work-dir>: Folder to serve (default to current directory)
19+
-listen: Port to listen to (default 3000)
20+
-oembed-url: Sets the oEmbed Link header if set (env: $SERVEGO_OEMBED_URL) (default )
21+
<work-dir>: Folder to serve (default to current directory)
2022
```
2123

2224
## Content Encoding
@@ -31,8 +33,8 @@ file instead of the original one.
3133

3234
Here is how to integrate it in a Docker image:
3335

34-
`Dockerfile`
35-
```
36+
Dockerfile:
37+
```dockerfile
3638
FROM node:15.7.0-alpine3.12 as builder
3739
WORKDIR /app/
3840
# Install dependencies

0 commit comments

Comments
 (0)