You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
FLAD/src/Api/Dockerfile

18 lines
344 B

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
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", "." ]