uptime-kuma/dockerfile
Philipp Dormann b15b44e290
🐳 move Dockerfile to base node:alpine image
reduces size from about 1.08GB to 345MB (still not great but hey)
2021-07-12 00:28:11 +02:00

11 lines
148 B
Plaintext

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