-
-
Notifications
You must be signed in to change notification settings - Fork 48
Expand file tree
/
Copy pathDockerfile
More file actions
31 lines (27 loc) · 639 Bytes
/
Dockerfile
File metadata and controls
31 lines (27 loc) · 639 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
FROM node:lts-alpine
MAINTAINER totalplatform "info@totaljs.com"
VOLUME /www/
WORKDIR /www/
RUN mkdir -p /www/
RUN mkdir -p /www/controllers/
RUN mkdir -p /www/definitions/
RUN mkdir -p /www/plugins/
RUN mkdir -p /www/public/
RUN mkdir -p /www/resources/
RUN mkdir -p /www/schemas/
RUN mkdir -p /www/views/
COPY controllers/ ./controllers/
COPY definitions/ ./definitions/
COPY plugins/ ./plugins/
COPY public/ ./public/
COPY resources/ ./resources/
COPY schemas/ ./schemas/
COPY views/ ./views/
COPY database.sql .
COPY index.js .
COPY config .
COPY license.txt .
COPY package.json .
RUN npm install
EXPOSE 8000
CMD [ "npm", "start" ]