Skip to content

Commit df32ab6

Browse files
committed
Add .dockerignore and revert Dockerfile COPY
1 parent d344a1b commit df32ab6

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

‎.dockerignore‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
node_modules/
2+
packages/*/node_modules/
3+
dist/
4+
packages/*/dist/
5+
.env
6+
structura.db

‎Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ COPY packages/proxy/package*.json ./packages/proxy/
1414
COPY packages/dashboard/package*.json ./packages/dashboard/
1515
# Compile better-sqlite3 native bindings in Alpine
1616
RUN apk add --no-cache python3 make g++
17-
COPY . .
1817
RUN npm ci
18+
COPY . .
1919
RUN npm run build -w packages/proxy
2020
RUN npm run build -w packages/dashboard
2121
# Re-install prod dependencies to trim dev footprint

0 commit comments

Comments
 (0)