PairDrop/Dockerfile
2023-03-13 20:38:36 +01:00

14 lines
247 B
Docker

FROM node:lts-alpine
WORKDIR /home/node/app
COPY package*.json ./
RUN npm ci
COPY . .
EXPOSE 3000
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
CMD wget --quiet --tries=1 --spider http://localhost:3000 || exit 1