Skip to content

Commit b7105e4

Browse files
committed
ci(k8s): dev.Dockerfile hot reload
1 parent 0541909 commit b7105e4

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

dev.Dockerfile

+5-4
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@ VOLUME ["/app"]
66

77
COPY package*.json /app/
88

9-
ENV NEXT_TELEMETRY_DISABLED 1
10-
ENV IS_DEV 1
9+
ENV NEXT_TELEMETRY_DISABLED=1
10+
ENV IS_DEV=1
11+
ENV WATCHPACK_POLLING=true
1112

12-
RUN npm install --also=dev
13+
RUN npm install --include=dev
1314

14-
ENTRYPOINT /usr/local/bin/npm run dev
15+
ENTRYPOINT ["/usr/local/bin/npm", "run", "dev"]

0 commit comments

Comments
 (0)