Mise à jour de 'src/Api/Dockerfile'
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
parent
0f0d87c156
commit
b72039e582
@ -1,17 +1,12 @@
|
|||||||
FROM node:latest
|
FROM node:latest
|
||||||
ENV PORT=8080
|
|
||||||
RUN find . -name UserService.ts -type f -print
|
|
||||||
WORKDIR /app
|
|
||||||
RUN ls /app
|
|
||||||
RUN find . -name UserService.ts -type f -print
|
|
||||||
#ARG http_proxy=http://193.49.118.36:8080 https_proxy=http://193.49.118.36:8080
|
|
||||||
ADD package.json /app
|
ADD package.json /app
|
||||||
ADD tsconfig.json /app
|
ADD tsconfig.json /app
|
||||||
|
WORKDIR /app
|
||||||
ADD . /app
|
ADD . /app
|
||||||
|
|
||||||
RUN npm install
|
RUN npm install
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
#EXPOSE 8080
|
EXPOSE 8080
|
||||||
CMD [ "node","." ]
|
CMD [ "node", "." ]
|
||||||
|
|
||||||
|
Loading…
Reference in new issue