mirror of
https://github.com/tiennm99/store-scraper-api.git
synced 2026-08-07 00:24:20 +00:00
Update Dockerfile
This commit is contained in:
@@ -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