diff --git a/src/Api/Dockerfile b/src/Api/Dockerfile index 6c8bb18..3043403 100644 --- a/src/Api/Dockerfile +++ b/src/Api/Dockerfile @@ -1,17 +1,10 @@ FROM node:latest -RUN ls /usr/src ADD package.json /app ADD tsconfig.json /app -RUN cat package.json -RUN find . -name package.json -type f -print +ADD . /app RUN mkdir /app WORKDIR /app -ADD . /app -RUN find . -name package.json -type f -print -RUN find /app -name package.json -type f -print RUN npm install RUN npm run build - EXPOSE 8080 CMD [ "node", "." ] -