Skip to content

Commit 64ca628

Browse files
committed
fix(Dockerfile): copy .tunnel_key file from builder stage to ensure localtunnel functionality in production
1 parent 13c2ccc commit 64ca628

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ WORKDIR /app
3636
COPY --from=builder /staging/package.json /staging/pnpm-lock.yaml ./
3737
COPY --from=builder /staging/node_modules ./node_modules
3838
COPY --from=builder /staging/build ./build
39+
COPY --from=builder /staging/.tunnel_key ./.tunnel_key
3940

4041
EXPOSE 3000
4142
CMD ["node", "-r", "dotenv/config", "./build/index.js"]

0 commit comments

Comments
 (0)