2025-11-21 10:24:38 +07:00
|
|
|
FROM alpine:latest
|
|
|
|
|
|
|
|
|
|
ADD entrypoint /entrypoint
|
|
|
|
|
RUN chmod +x ./entrypoint
|
|
|
|
|
|
2025-11-21 11:29:24 +07:00
|
|
|
RUN apk update && apk add npm
|
|
|
|
|
|
2025-11-21 17:45:37 +07:00
|
|
|
ADD micro-service-api /server
|
2025-11-21 10:24:38 +07:00
|
|
|
|
2025-11-21 17:45:37 +07:00
|
|
|
RUN mv /server/start-accountingwep.sh /
|
|
|
|
|
RUN mv /server/start-login.sh /
|
|
|
|
|
RUN mv /server/start-ttc.sh /
|
2025-11-21 17:17:17 +07:00
|
|
|
|
|
|
|
|
RUN chmod +x /start-accountingwep.sh
|
|
|
|
|
RUN chmod +x /start-login.sh
|
2025-11-21 17:33:25 +07:00
|
|
|
RUN chmod +x /start-ttc.sh
|
2025-11-21 15:52:47 +07:00
|
|
|
|
2025-11-21 17:45:37 +07:00
|
|
|
RUN cd /server && npm install
|
|
|
|
|
|
2025-11-21 10:24:38 +07:00
|
|
|
ENTRYPOINT ["/entrypoint"]
|