mirror of
https://github.com/orangecoding/fredy.git
synced 2026-06-16 12:31:07 +00:00
zg
This commit is contained in:
15
Dockerfile
15
Dockerfile
@@ -1,13 +1,16 @@
|
|||||||
FROM node:10
|
FROM alpine:latest
|
||||||
# Create app directory
|
|
||||||
|
|
||||||
WORKDIR /
|
WORKDIR /usr/src/
|
||||||
|
|
||||||
COPY package*.json ./
|
RUN cd /usr/src/
|
||||||
|
|
||||||
RUN npm install
|
RUN apk add --update nodejs npm git
|
||||||
|
|
||||||
COPY . .
|
RUN git clone https://github.com/orangecoding/fredy.git
|
||||||
|
|
||||||
|
RUN ln -s /usr/src/fredy/conf/ /conf
|
||||||
|
|
||||||
|
RUN cd /usr/src/fredy/ && npm install
|
||||||
|
|
||||||
EXPOSE 9876
|
EXPOSE 9876
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user