mirror of
https://github.com/tiennm99/store-scraper-api.git
synced 2026-10-12 16:15:35 +00:00
Update Dockerfile
This commit is contained in:
1 parent
a1a180ef33
commit
558ce9f095
1 file changed
+2
@@ -4,4 +4,6 @@ COPY package*.json ./
|
||||
RUN npm install
|
||||
COPY . .
|
||||
EXPOSE 3000
|
||||
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
|
||||
CMD node -e "require('http').get('http://localhost:3000/', (r) => {process.exit(r.statusCode === 200 ? 0 : 1)})"
|
||||
CMD ["node", "server.js"]
|
||||
Reference in new issue
Block a user