mirror of
https://github.com/hanzoai/better-sqlite3-multiple-ciphers.git
synced 2026-09-24 16:57:19 +00:00
Optimize Dockerfile for better caching
This commit is contained in:
+5
-1
@@ -8,7 +8,11 @@ WORKDIR /bs3mc
|
||||
COPY package.json .
|
||||
RUN npm install --ignore-scripts --no-audit
|
||||
|
||||
COPY . .
|
||||
COPY binding.gyp .
|
||||
COPY deps ./deps
|
||||
COPY src ./src
|
||||
RUN npm run build-debug
|
||||
|
||||
COPY . .
|
||||
|
||||
CMD ["npm", "test"]
|
||||
|
||||
Reference in New Issue
Block a user