mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-08 21:38:37 +08:00
prepare for docker
This commit is contained in:
10
dockerfile
Normal file
10
dockerfile
Normal file
@@ -0,0 +1,10 @@
|
||||
FROM node:14
|
||||
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
RUN npm install
|
||||
RUN npm run build
|
||||
|
||||
EXPOSE 3001
|
||||
VOLUME ["/app/data"]
|
||||
CMD ["npm", "run", "start-server"]
|
Reference in New Issue
Block a user