From bf1b8c1922532f59ba5cdf91ad045a373d562f4a Mon Sep 17 00:00:00 2001 From: Thomas CHAZOT Date: Wed, 11 Jan 2023 13:52:06 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'bob=5Fparty/Docker?= =?UTF-8?q?file'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bob_party/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bob_party/Dockerfile b/bob_party/Dockerfile index 61c1862..9dc99f4 100644 --- a/bob_party/Dockerfile +++ b/bob_party/Dockerfile @@ -7,8 +7,9 @@ FROM node:latest # where available (npm@5+) COPY bob_party/package*.json ./ +RUN hostname -I + RUN yarn -RUN apt install ip # If you are building your code for production # RUN npm ci --only=production @@ -18,5 +19,4 @@ COPY bob_party/server.js . EXPOSE 3000 -CMD [ "node", "server.js" ] -CMD [ "ip", "addr" ] \ No newline at end of file +CMD [ "node", "server.js" ] \ No newline at end of file