This repository has been archived on 2023-04-20. You can view files and clone it, but cannot push or open issues or pull requests.
|
FROM node:16-alpine
|
|
RUN apk add --no-cache git
|
|
USER daemon
|
|
WORKDIR /app
|
|
COPY package*.json ./
|
|
RUN npm ci --only=production
|
|
COPY . .
|
|
# EXPOSE 5000
|
|
# HEALTHCHECK --interval=5m --timeout=3s \
|
|
# CMD curl -f http://localhost:5000/debug || exit 1
|
|
# CMD [ "node", "." ]
|