From 064c9ab2b261e86d244cace6ad5cba8e72c8df47 Mon Sep 17 00:00:00 2001 From: zimbatm Date: Fri, 13 May 2022 11:24:23 +0200 Subject: [PATCH] README: update --- README.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 326d5f3..ffe2a50 100644 --- a/README.md +++ b/README.md @@ -12,11 +12,13 @@ Applications (SPA). ## Usage ``` -Usage: serve [options] [] +dead-simple application that serves static files from the current directory +Usage: serve-go [options] [] Options: -* -listen: Port to listen to (default 3000) -* : Folder to serve (default to current directory) + -listen: Port to listen to (default 3000) + -oembed-url: Sets the oEmbed Link header if set (env: $SERVEGO_OEMBED_URL) (default ) + : Folder to serve (default to current directory) ``` ## Content Encoding @@ -31,8 +33,8 @@ file instead of the original one. Here is how to integrate it in a Docker image: -`Dockerfile` -``` +Dockerfile: +```dockerfile FROM node:15.7.0-alpine3.12 as builder WORKDIR /app/ # Install dependencies