Skip to content

Commit

Permalink
Squash commits
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiaxin Fan authored and Jiaxin Fan committed Jan 30, 2023
1 parent f10ba10 commit 03a8541
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions docs/users/standalone/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@
-->

# Tests for OpenWhisk NodeJS Runtime as Standalone Container
[![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0)
[![Continuous Integration](https://github.com/apache/openwhisk-runtime-nodejs/actions/workflows/ci.yaml/badge.svg)](https://github.com/apache/openwhisk-runtime-nodejs/actions/workflows/ci.yaml)

This README walks you through how to build, customise and test Apache OpenWhisk Node.js runtime images.
## Pre-requisites
- [Gradle](https://gradle.org/)
Expand Down Expand Up @@ -58,7 +55,7 @@ In our example, the `Action` container exposes `port 8080` (see the Dockerfile f
```
docker run --publish 3008:8080 --name=bloom_whisker -i -t action-nodejs-v18:latest
```
A simpler way is to map `port 80 ` on `localhost ` to the container's `port 8080`. The port number assigned to the HTTP protocol is `80`. Since we will be sending actions against the runtime using HTTP, using this number will allow us to omit the port in the request later. Oftentimes, `port 80 ` could already be occupied by another process. Without loss of generality, the following examples will use the arbitrarily chosen `port 3008`.
A simpler way is to map `port 80` on `localhost` to the container's `port 8080`. The port number assigned to the HTTP protocol is `80`. Since we will be sending actions against the runtime using HTTP, using this number will allow us to omit the port in the request later. Oftentimes, `port 80` could already be occupied by another process. Without loss of generality, the following examples will use the arbitrarily chosen `port 3008`.

Lists all running containers
```
Expand Down

0 comments on commit 03a8541

Please sign in to comment.