Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -8,7 +8,8 @@ WORKDIR /home/app
|
|
8 |
RUN git clone https://github.com/louislam/uptime-kuma.git
|
9 |
WORKDIR /home/app/uptime-kuma
|
10 |
RUN npm install --legacy-peer-deps && npm cache clean --force && \
|
11 |
-
npm run build
|
|
|
12 |
|
13 |
EXPOSE 3001
|
14 |
CMD ["node", "server/server.js"]
|
|
|
8 |
RUN git clone https://github.com/louislam/uptime-kuma.git
|
9 |
WORKDIR /home/app/uptime-kuma
|
10 |
RUN npm install --legacy-peer-deps && npm cache clean --force && \
|
11 |
+
npm run build && \
|
12 |
+
mkdir -p ./data
|
13 |
|
14 |
EXPOSE 3001
|
15 |
CMD ["node", "server/server.js"]
|