mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-10-30 03:00:40 +00: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"]
|