diff --git a/Dockerfile b/Dockerfile index 74fe4a9..d33f994 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 + diff --git a/README.md b/README.md index cd6d41b..8312adc 100644 --- a/README.md +++ b/README.md @@ -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).