fix: Docker fixes
This commit is contained in:
parent
f31dccab5f
commit
29bb03e0c9
@ -6,7 +6,12 @@ RUN apk update && apk upgrade && \
|
|||||||
ENV WIKI_JS_DOCKER 1
|
ENV WIKI_JS_DOCKER 1
|
||||||
|
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
RUN npm install wiki.js@latest
|
COPY assets assets/
|
||||||
|
COPY server server/
|
||||||
|
COPY npm/configs/config.docker.yml config.yml
|
||||||
|
COPY package.json package.json
|
||||||
|
COPY LICENSE LICENSE
|
||||||
|
RUN npm install --only=production --no-optional
|
||||||
|
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
ENTRYPOINT [ "node", "server" ]
|
ENTRYPOINT [ "node", "server" ]
|
||||||
|
Loading…
Reference in New Issue
Block a user