Skip to content

Commit

Permalink
style: Added newlines, fixed typos and structured .dockerignore
Browse files Browse the repository at this point in the history
  • Loading branch information
wouteraj committed Nov 4, 2020
1 parent 1e3ef03 commit 916baaf
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
13 changes: 6 additions & 7 deletions .dockerignore
@@ -1,12 +1,11 @@
components
node_modules
npm-debug.log
.git
yarn.lock
yarn-error.log

.env
dist
components
.git
Dockerfile
npm-debug.log

*.d.ts
*.js
*.js.map
Dockerfile
4 changes: 2 additions & 2 deletions Dockerfile
Expand Up @@ -6,7 +6,7 @@ ENV NODE_VERSION 14.10.0
ARG LEVEL=info
ENV LEVEL ${LEVEL}

# Setting the port on whic the server will run
# Setting the port on which the server will run
ARG PORT=3000
ENV PORT ${PORT}

Expand All @@ -20,4 +20,4 @@ RUN npm ci --unsafe-perm

# Expose port and set command
EXPOSE ${PORT}
CMD node ./bin/server.js -l ${LEVEL} -p ${PORT}
CMD node ./bin/server.js -l ${LEVEL} -p ${PORT}
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -49,13 +49,13 @@ More configs with different backends can be found in the config folder.
Alternatively, you can run the community server inside a Docker container. Start by building a Docker image based on the `Dockerfile`.

```
docker build -t solid/community-server:0.1.1 .
docker build -t solid/community-server .
```

Once you built the Docker image, you can run it as follows.

```
docker run -p 3000:3000 solid/community-server:0.1.1
docker run -p 3000:3000 solid/community-server
```

The Docker file supports the following variables at both runtime and at build time.
Expand Down

0 comments on commit 916baaf

Please sign in to comment.