mirror of
https://github.com/Metastem/wikiless
synced 2024-12-06 19:16:58 +01:00
update Dockerfile and mention alternative docker compose file in README
This commit is contained in:
+5
-4
@@ -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
|
||||
|
||||
|
||||
@@ -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).
|
||||
|
||||
Reference in New Issue
Block a user