From 0b98e57ec7b2737a02ca419744e75ae108c2d34c Mon Sep 17 00:00:00 2001 From: Thomas CHAZOT Date: Tue, 10 Jan 2023 20:57:46 +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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bob_party/Dockerfile b/bob_party/Dockerfile index 092adef..fa5f74b 100644 --- a/bob_party/Dockerfile +++ b/bob_party/Dockerfile @@ -1,7 +1,6 @@ FROM node:latest # Create app directory -WORKDIR /bob_party # Install app dependencies # A wildcard is used to ensure both package.json AND package-lock.json are copied @@ -13,7 +12,8 @@ RUN yarn # RUN npm ci --only=production # Bundle app source -COPY bob_party . +COPY bob_party/server.js . EXPOSE 8080 +CMD [ "ls" ] CMD [ "node", "server.js" ] \ No newline at end of file