update Dockerfile and mention alternative docker compose file in README

This commit is contained in:
orenom
2022-05-20 21:52:18 +02:00
parent b9117aede8
commit 4b2d09237a
2 changed files with 7 additions and 4 deletions
+5 -4
View File
@@ -1,7 +1,8 @@
FROM node:16-alpine
ADD ./ /app
WORKDIR /app
RUN apk add git
RUN git clone https://codeberg.org/orenom/Wikiless /wikiless
WORKDIR /wikiless
RUN npm install --no-optional
COPY config.js.template config.js
COPY wikiless.config config.js
CMD npm start
+2
View File
@@ -149,3 +149,5 @@ For development, there's a `docker-compose.yml` that mounts the app code (for ho
$ docker-compose run --rm web npm install --no-optionals
$ docker-compose up
```
If you are experiencing errors with Redis not connecting, you might want to try the [alternative docker-compose.yml](https://github.com/JarbasAl/wikiless-docker).