Files
micro-service-api/Dockerfile
supphakitd 4a548e38b5
All checks were successful
Build Docker Image / Build Docker Image (push) Successful in 2m59s
Dockerfile: forgot to add ttc, also add accountingwep api
Signed-off-by: supphakitd <67319010028@technictrang.ac.th>
2025-11-21 17:33:25 +07:00

27 lines
657 B
Docker

FROM alpine:latest
ADD entrypoint /entrypoint
RUN chmod +x ./entrypoint
RUN apk update && apk add npm
RUN mkdir /server
ADD node_modules /server/node_modules
ADD package-lock.json /server/package-lock.json
ADD package.json /server/package.json
ADD exthernal-login-api /server/exthernal-login-api
ADD exthernal-ttc-api /server/exthernal-ttc-api
ADD exthernal-accountingwep-api /server/exthernal-accountingwep-api
ADD start-accountingwep.sh /start-accountingwep.sh
ADD start-ttc.sh /start-ttc.sh
ADD start-login.sh /start-login.sh
RUN chmod +x /start-accountingwep.sh
RUN chmod +x /start-login.sh
RUN chmod +x /start-ttc.sh
ENTRYPOINT ["/entrypoint"]