workflow: fix path on Dockerfile
All checks were successful
Build Docker Image / Build Docker Image (push) Successful in 3m18s

need to repeat filename/foldername to ADD

Signed-off-by: supphakitd <67319010028@technictrang.ac.th>
This commit is contained in:
2025-11-21 11:29:24 +07:00
parent 9751b0ac6e
commit 4cb135d251
2 changed files with 8 additions and 7 deletions

View File

@@ -1,16 +1,17 @@
FROM alpine:latest
ADD entrypoint /entrypoint
RUN apk update && apk add npm
RUN chmod +x ./entrypoint
RUN apk update && apk add npm
RUN mkdir /server
ADD node_modules /server
ADD package-lock.json /server
ADD package.json /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
ADD exthernal-ttc-api /server
ADD exthernal-login-api /server/exthernal-login-api
ADD exthernal-ttc-api /server/exthernal-ttc-api
ENTRYPOINT ["/entrypoint"]

View File

@@ -1,3 +1,3 @@
#!/bin/sh
exec /bin/sh
cd /server/exthernal-login-api && exec npm start