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