mirror of
https://github.com/Metastem/Wikiless.git
synced 2025-06-28 13:09:51 +00:00
Build docker image from local source repo
This commit is contained in:
parent
e48c58d0c0
commit
36231cad7f
2 changed files with 3 additions and 2 deletions
2
.dockerignore
Normal file
2
.dockerignore
Normal file
|
@ -0,0 +1,2 @@
|
|||
.git*
|
||||
docker-compose.yml
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue