Mise à jour de 'src/Api/Dockerfile'
continuous-integration/drone/push Build is failing Details

pull/19/head
Emre KARTAL 2 years ago
parent c6c99246cf
commit 3a36f9b41b

@ -1,9 +1,8 @@
FROM node:latest FROM node:latest
WORKDIR /Api WORKDIR /Api
ADD package.json /Api COPY package.json /Api
ADD tsconfig.json /Api COPY tsconfig.json /Api
ADD . /Api COPY . /Api
RUN npm install RUN npm install && npm run build
RUN npm run build
EXPOSE 8080 EXPOSE 8080
CMD ["node", "."] CMD ["node", "."]
Loading…
Cancel
Save