All checks were successful
Build Docker Image / Build Docker Image (push) Successful in 2m59s
Signed-off-by: supphakitd <67319010028@technictrang.ac.th>
27 lines
657 B
Docker
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"]
|