Files
micro-service-api/Dockerfile
supphakitd 40383733cd
All checks were successful
Build Docker Image / Build Docker Image (push) Successful in 2m42s
Dockerfile: just add the entire repo
Signed-off-by: supphakitd <67319010028@technictrang.ac.th>
2025-11-21 17:45:37 +07:00

21 lines
391 B
Docker

FROM alpine:latest
ADD entrypoint /entrypoint
RUN chmod +x ./entrypoint
RUN apk update && apk add npm
ADD micro-service-api /server
RUN mv /server/start-accountingwep.sh /
RUN mv /server/start-login.sh /
RUN mv /server/start-ttc.sh /
RUN chmod +x /start-accountingwep.sh
RUN chmod +x /start-login.sh
RUN chmod +x /start-ttc.sh
RUN cd /server && npm install
ENTRYPOINT ["/entrypoint"]