Skip to content

Commit 8f2c8bd

Browse files
committed
Add environment file copy to Dockerfile
1 parent 5886ca5 commit 8f2c8bd

File tree

2 files changed

+3
-17
lines changed

2 files changed

+3
-17
lines changed

.github/workflows/dokploy-deployment.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ COPY package.json package-lock.json* ./
99
# Install dependencies
1010
RUN --mount=type=cache,id=npm,target=/root/.npm npm ci --only=production
1111

12+
# Copy environment file (if exists)
13+
COPY .env* ./
14+
1215
# Copy source code
1316
COPY . .
1417

0 commit comments

Comments
 (0)