mirror of
https://github.com/orangecoding/fredy.git
synced 2026-06-16 12:31:07 +00:00
19
Dockerfile
19
Dockerfile
@@ -1,19 +0,0 @@
|
||||
FROM alpine:latest
|
||||
|
||||
RUN mkdir -p /usr/src/
|
||||
#Install Software
|
||||
RUN apk add --update nodejs npm git
|
||||
|
||||
RUN cd /usr/src && git clone https://github.com/orangecoding/fredy.git
|
||||
|
||||
RUN ln -s /usr/src/fredy/conf/ /conf
|
||||
|
||||
RUN cd /usr/src/fredy/ && npm install
|
||||
|
||||
WORKDIR /usr/src/fredy
|
||||
|
||||
EXPOSE 9998
|
||||
|
||||
VOLUME [ "/conf", "/db" ]
|
||||
# --no-daemon is required for keeping Container alive
|
||||
CMD node index.js --no-daemon
|
||||
Reference in New Issue
Block a user