mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-24 16:10:47 -06:00
Merge pull request #273 from duzun/patch-1
Dockerfile: Avoid keeping npm in RAM
This commit is contained in:
commit
d4cf838af7
@ -22,7 +22,7 @@ RUN npm install && npm run build && npm prune
|
||||
EXPOSE 3001
|
||||
VOLUME ["/app/data"]
|
||||
HEALTHCHECK --interval=60s --timeout=30s --start-period=300s CMD node extra/healthcheck.js
|
||||
CMD ["npm", "run", "start-server"]
|
||||
CMD ["node", "server/server.js"]
|
||||
|
||||
FROM release AS nightly
|
||||
RUN npm run mark-as-nightly
|
||||
|
Loading…
Reference in New Issue
Block a user