matthoffner commited on
Commit
08cc2d6
β€’
1 Parent(s): 6480c62

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -1,6 +1,8 @@
1
  FROM node:18 AS base
2
 
3
- # Create app directory and set it as WORKDIR
 
 
4
  WORKDIR /app
5
 
6
  # Install dependencies based on the preferred package manager
 
1
  FROM node:18 AS base
2
 
3
+ # Install dependencies only when needed
4
+ FROM base AS deps
5
+
6
  WORKDIR /app
7
 
8
  # Install dependencies based on the preferred package manager