uptime-kuma/Dockerfile

11 lines
149 B
Docker

FROM node:16.4.2-alpine3.14
#
WORKDIR /app
COPY . .
RUN yarn
RUN yarn build
#
EXPOSE 50013
VOLUME ["/app/data"]
CMD ["npm", "run", "start-server"]