From 84f85747057722749129ff0232a53337ae2c8b83 Mon Sep 17 00:00:00 2001 From: Dennis Postma Date: Wed, 10 Jul 2024 22:14:04 +0200 Subject: [PATCH] asd --- Dockerfile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 95c514d..cb838d4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,18 +1,18 @@ # Use the official Node.js 22.4.1 image FROM node:22.4.1-alpine -# Install application dependencies -RUN npm install - -# Build the application -RUN npm run build - # Create a directory for the application code RUN mkdir -p /usr/src/app # Set the working directory in the container WORKDIR /usr/src/app +# Install application dependencies +RUN npm install + +# Build the application +RUN npm run build + # Copy the rest of your application code to the container COPY . /usr/src/app