Build docker image from local source repo

This commit is contained in:
Paul Voss 2023-02-12 12:16:10 +01:00
parent e48c58d0c0
commit 36231cad7f
2 changed files with 3 additions and 2 deletions

2
.dockerignore Normal file
View file

@ -0,0 +1,2 @@
.git*
docker-compose.yml

View file

@ -1,7 +1,6 @@
FROM node:16-alpine
RUN apk add git
RUN git clone https://github.com/Metastem/wikiless.git
WORKDIR /wikiless
COPY . /wikiless
RUN npm install --no-optional
COPY config.js.template config.js
CMD npm start