mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-28 06:08:02 +03:00
b15b44e290
reduces size from about 1.08GB to 345MB (still not great but hey)
10 lines
148 B
Text
10 lines
148 B
Text
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"]
|