mirror of
https://github.com/Metastem/wikiless
synced 2024-12-06 19:16:58 +01:00
+5
-8
@@ -1,10 +1,7 @@
|
||||
FROM node:16-alpine AS build
|
||||
FROM node:16-alpine
|
||||
RUN apk add git
|
||||
RUN git clone https://github.com/Metastem/wikiless.git /wikiless
|
||||
WORKDIR /wikiless
|
||||
COPY . /wikiless
|
||||
RUN apk add redis
|
||||
RUN npm install --no-optional
|
||||
|
||||
FROM gcr.io/distroless/nodejs:16
|
||||
COPY --from=build /wikiless /wikiless
|
||||
WORKDIR /wikiless
|
||||
COPY config.js.template config.js
|
||||
CMD ["src/wikiless.js"]
|
||||
CMD npm start
|
||||
|
||||
Reference in New Issue
Block a user