diff --git a/src/Api/Dockerfile b/src/Api/Dockerfile index 99161cc..2602bd2 100644 --- a/src/Api/Dockerfile +++ b/src/Api/Dockerfile @@ -1,9 +1,8 @@ FROM node:latest WORKDIR /Api -ADD package.json /Api -ADD tsconfig.json /Api -ADD . /Api -RUN npm install -RUN npm run build +COPY package.json /Api +COPY tsconfig.json /Api +COPY . /Api +RUN npm install && npm run build EXPOSE 8080 -CMD [ "node","." ] \ No newline at end of file +CMD ["node", "."] \ No newline at end of file