matthoffner
commited on
Commit
β’
08cc2d6
1
Parent(s):
6480c62
Update Dockerfile
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
FROM node:18 AS base
|
2 |
|
3 |
-
#
|
|
|
|
|
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
|